chiark / gitweb /
util: replace close_pipe() with new safe_close_pair()
[elogind.git] / src / libsystemd / sd-login / test-login.c
index 2ab083bb71960b447acda01b082fdd3a67fb72ae..9e326de5b43ed4776dac6c496da2533443ecee9b 100644 (file)
@@ -28,7 +28,7 @@
 #include "strv.h"
 
 static void test_login(void) {
 #include "strv.h"
 
 static void test_login(void) {
-        _cleanup_close_pipe_ int pair[2] = { -1, -1 };
+        _cleanup_close_pair_ int pair[2] = { -1, -1 };
         _cleanup_free_ char *pp = NULL, *qq = NULL;
         int r, k;
         uid_t u, u2;
         _cleanup_free_ char *pp = NULL, *qq = NULL;
         int r, k;
         uid_t u, u2;