summaryrefslogtreecommitdiff
path: root/src/core/dbus-manager.c
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2023-03-13 21:55:04 +0100
committerDaan De Meyer <daan.j.demeyer@gmail.com>2023-03-14 13:46:58 +0100
commit06344330a16b2bc6daeeef55bf77eea937446755 (patch)
tree90c370e9afc9d38b28e0eaf377b7f4e71b85072d /src/core/dbus-manager.c
parent0a9b88787893a95397d0fdfa0ebaf099ab21944e (diff)
downloadsystemd-06344330a16b2bc6daeeef55bf77eea937446755.tar.gz
chase-symlinks: Remove unused ret_fd arguments
Diffstat (limited to 'src/core/dbus-manager.c')
-rw-r--r--src/core/dbus-manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/dbus-manager.c b/src/core/dbus-manager.c
index 242a662bca..2198e73f24 100644
--- a/src/core/dbus-manager.c
+++ b/src/core/dbus-manager.c
@@ -1768,7 +1768,7 @@ static int method_switch_root(sd_bus_message *message, void *userdata, sd_bus_er
return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS,
"Path to init binary '%s' not absolute.", init);
- r = chase_symlinks_and_access(init, root, CHASE_PREFIX_ROOT, X_OK, NULL, NULL);
+ r = chase_symlinks_and_access(init, root, CHASE_PREFIX_ROOT, X_OK, NULL);
if (r == -EACCES)
return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS,
"Init binary %s is not executable.", init);