all: use nm_close() instead of close()

This commit is contained in:
Thomas Haller
2017-11-14 14:22:21 +01:00
parent f4780f85ae
commit 5b29c2e5b9
14 changed files with 40 additions and 40 deletions

View File

@@ -106,7 +106,7 @@ nm_main_utils_write_pidfile (const char *pidfile)
else
success = TRUE;
if (close (fd))
if (nm_close (fd))
fprintf (stderr, _("Closing %s failed: %s\n"), pidfile, strerror (errno));
return success;