chiark / gitweb /
util: replace close_pipe() with new safe_close_pair()
[elogind.git] / src / test / test-namespace.c
index 5b76b9e73ffddaaafe2f3a4f9dc6a4db885a838b..e74fd0c88a53251cd7c0bef76752ac9475db403a 100644 (file)
@@ -63,7 +63,7 @@ static void test_tmpdir(const char *id, const char *A, const char *B) {
 }
 
 static void test_netns(void) {
-        _cleanup_close_pipe_ int s[2] = { -1, -1 };
+        _cleanup_close_pair_ int s[2] = { -1, -1 };
         pid_t pid1, pid2, pid3;
         int r, n = 0;
         siginfo_t si;