summaryrefslogtreecommitdiff
path: root/shared/nm-test-utils-impl.c
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2017-11-14 14:22:21 +0100
committerThomas Haller <thaller@redhat.com>2017-11-14 15:10:42 +0100
commit5b29c2e5b93c30347919b40e0885280fdb83c1a5 (patch)
tree5a33fd815571354552583f27a6e726f0ef4bd156 /shared/nm-test-utils-impl.c
parentf4780f85ae02fa32141cd56aa759d041ed4b27cf (diff)
downloadNetworkManager-5b29c2e5b93c30347919b40e0885280fdb83c1a5.tar.gz
all: use nm_close() instead of close()
Diffstat (limited to 'shared/nm-test-utils-impl.c')
-rw-r--r--shared/nm-test-utils-impl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared/nm-test-utils-impl.c b/shared/nm-test-utils-impl.c
index 6926ea3060..3eb726d91f 100644
--- a/shared/nm-test-utils-impl.c
+++ b/shared/nm-test-utils-impl.c
@@ -146,7 +146,7 @@ nmtstc_service_cleanup (NMTstcServiceInfo *info)
g_assert (i > 0);
g_object_unref (info->bus);
- close (info->keepalive_fd);
+ nm_close (info->keepalive_fd);
#if ((NETWORKMANAGER_COMPILATION) == NM_NETWORKMANAGER_COMPILATION_LIB_LEGACY)
g_clear_pointer (&info->libdbus.bus, dbus_g_connection_unref);