summaryrefslogtreecommitdiff
path: root/src/libsystemd/sd-login/test-login.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libsystemd/sd-login/test-login.c')
-rw-r--r--src/libsystemd/sd-login/test-login.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd/sd-login/test-login.c b/src/libsystemd/sd-login/test-login.c
index 2ab083bb71..9e326de5b4 100644
--- a/src/libsystemd/sd-login/test-login.c
+++ b/src/libsystemd/sd-login/test-login.c
@@ -28,7 +28,7 @@
#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;