diff options
author | Beniamino Galvani <bgalvani@redhat.com> | 2017-10-18 11:36:30 +0200 |
---|---|---|
committer | Beniamino Galvani <bgalvani@redhat.com> | 2017-10-19 15:49:58 +0200 |
commit | d29115c138dcd88172eb2668cf0a40b5bc428716 (patch) | |
tree | 165b5b868ad4b59a453b0a35c37374d49f1749c5 /src/ppp | |
parent | 1bc1809e11759d9c0ff505f078943e73ded9db9c (diff) | |
download | NetworkManager-d29115c138dcd88172eb2668cf0a40b5bc428716.tar.gz |
core: use nm_close()
Use nm_close() in the core to catch any improper use of close().
Diffstat (limited to 'src/ppp')
-rw-r--r-- | src/ppp/nm-ppp-manager.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ppp/nm-ppp-manager.c b/src/ppp/nm-ppp-manager.c index 75299d1a66..3ef3f3dc84 100644 --- a/src/ppp/nm-ppp-manager.c +++ b/src/ppp/nm-ppp-manager.c @@ -1088,7 +1088,7 @@ _ppp_cleanup (NMPPPManager *manager) if (priv->monitor_fd >= 0) { /* Get the stats one last time */ monitor_cb (manager); - close (priv->monitor_fd); + nm_close (priv->monitor_fd); priv->monitor_fd = -1; } |