summaryrefslogtreecommitdiff
path: root/src/systemctl
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2023-04-14 09:51:27 +0200
committerDavid Tardon <dtardon@redhat.com>2023-04-14 10:24:07 +0200
commit05cdf6a7013457ad2881eb6f2c49f5c4d26b7bce (patch)
tree0c2cec0d47ac2a7c780142db55571f99f9a1f4c9 /src/systemctl
parent52c788e6e069dc9ed1f651683ac4248d58e6f453 (diff)
downloadsystemd-05cdf6a7013457ad2881eb6f2c49f5c4d26b7bce.tar.gz
tree-wide: rename cleanup function
... with accordance to the current coding style.
Diffstat (limited to 'src/systemctl')
-rw-r--r--src/systemctl/systemctl-list-unit-files.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systemctl/systemctl-list-unit-files.c b/src/systemctl/systemctl-list-unit-files.c
index 69f0d977c1..4b15e1ca6c 100644
--- a/src/systemctl/systemctl-list-unit-files.c
+++ b/src/systemctl/systemctl-list-unit-files.c
@@ -51,7 +51,7 @@ static bool output_show_unit_file(const UnitFileList *u, char **states, char **p
static int output_unit_file_list(const UnitFileList *units, unsigned c) {
_cleanup_(table_unrefp) Table *table = NULL;
- _cleanup_(unit_file_presets_freep) UnitFilePresets presets = {};
+ _cleanup_(unit_file_presets_done) UnitFilePresets presets = {};
int r;
table = table_new("unit file", "state", "preset");