summaryrefslogtreecommitdiff
path: root/src/portable
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-08-26 09:30:01 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-10-13 19:44:47 +0200
commitcd44ec5a92e594bc286a731ff9be75f8554c2c22 (patch)
tree2c8cadef21e56000b6f86b37961e2603d0da28cd /src/portable
parent0f87041f9404564fac77ab3b6afcef0cab5f3936 (diff)
downloadsystemd-cd44ec5a92e594bc286a731ff9be75f8554c2c22.tar.gz
shared/install: rename UnitFileChange to InstallChange
It's shorter and more generic. The struct can contain info about changes to unit files, but also symlinks and errors.
Diffstat (limited to 'src/portable')
-rw-r--r--src/portable/portablectl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/portable/portablectl.c b/src/portable/portablectl.c
index 6ee9ee8f43..341e70621f 100644
--- a/src/portable/portablectl.c
+++ b/src/portable/portablectl.c
@@ -540,7 +540,7 @@ static int maybe_enable_disable(sd_bus *bus, const char *path, bool enable) {
_cleanup_(sd_bus_message_unrefp) sd_bus_message *m = NULL, *reply = NULL;
_cleanup_(sd_bus_error_free) sd_bus_error error = SD_BUS_ERROR_NULL;
_cleanup_strv_free_ char **names = NULL;
- UnitFileChange *changes = NULL;
+ InstallChange *changes = NULL;
const uint64_t flags = UNIT_FILE_PORTABLE | (arg_runtime ? UNIT_FILE_RUNTIME : 0);
size_t n_changes = 0;
int r;
@@ -582,7 +582,7 @@ static int maybe_enable_disable(sd_bus *bus, const char *path, bool enable) {
}
(void) bus_deserialize_and_dump_unit_file_changes(reply, arg_quiet, &changes, &n_changes);
- unit_file_changes_free(changes, n_changes);
+ install_changes_free(changes, n_changes);
return 0;
}