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
@@ -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;