summaryrefslogtreecommitdiff
path: root/src/systemctl/systemctl-enable.c
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2023-04-11 17:25:42 +0200
committerDavid Tardon <dtardon@redhat.com>2023-04-12 09:53:55 +0200
commit5e891cbb5cfb0de54588988f1c9969244a9317a3 (patch)
tree9fd735d8f5c3e0d76d8530e259baae842c6fef6d /src/systemctl/systemctl-enable.c
parentf643ca1767a52918c69c324f2ed6dbdfa005f04e (diff)
downloadsystemd-5e891cbb5cfb0de54588988f1c9969244a9317a3.tar.gz
tree-wide: drop unneeded output params
Neither of the callers of bus_deserialize_and_dump_unit_file_changes() touches the changes array, so let's simplify things and keep it internal to the function.
Diffstat (limited to 'src/systemctl/systemctl-enable.c')
-rw-r--r--src/systemctl/systemctl-enable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systemctl/systemctl-enable.c b/src/systemctl/systemctl-enable.c
index 2fc5a0b051..98bf30670d 100644
--- a/src/systemctl/systemctl-enable.c
+++ b/src/systemctl/systemctl-enable.c
@@ -235,7 +235,7 @@ int verb_enable(int argc, char *argv[], void *userdata) {
return bus_log_parse_error(r);
}
- r = bus_deserialize_and_dump_unit_file_changes(reply, arg_quiet, &changes, &n_changes);
+ r = bus_deserialize_and_dump_unit_file_changes(reply, arg_quiet);
if (r < 0)
return r;