mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-02-04 17:47:03 +03:00
systemctl,test: -EBADF instead of -EBADFD
Follow-up for da20baaeccbcca78350bf64bdc069dec685c95bc.
This commit is contained in:
parent
23fcf34a51
commit
1dcfbc514c
@ -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;
|
||||
|
@ -2148,7 +2148,7 @@ static int get_unit_dbus_path_by_pid(
|
||||
_cleanup_(sd_bus_error_free) sd_bus_error error = SD_BUS_ERROR_NULL;
|
||||
_cleanup_(sd_bus_message_unrefp) sd_bus_message *reply = NULL;
|
||||
_cleanup_free_ char *path = NULL, *unit = NULL;
|
||||
_cleanup_close_ int pidfd = -EBADFD;
|
||||
_cleanup_close_ int pidfd = -EBADF;
|
||||
char *p, *u;
|
||||
int r;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user