systemctl,test: -EBADF instead of -EBADFD

Follow-up for da20baaecc.
This commit is contained in:
Yu Watanabe
2023-01-21 10:47:54 +01:00
committed by Lennart Poettering
parent 23fcf34a51
commit 1dcfbc514c
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ TEST(login) {
*type = NULL, *class = NULL, *state = NULL, *state2 = NULL,
*seat = NULL, *session = NULL,
*unit = NULL, *user_unit = NULL, *slice = NULL;
_cleanup_close_ int pidfd = -EBADFD;
_cleanup_close_ int pidfd = -EBADF;
int r;
uid_t u, u2 = UID_INVALID;
char *t, **seats = NULL, **sessions = NULL;