diff options
author | Lennart Poettering <lennart@poettering.net> | 2018-10-31 17:03:50 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2018-10-31 18:00:52 +0100 |
commit | bea1a01310efdf51b8c609a300d49bf5c25509c3 (patch) | |
tree | 763924b96caa50af59368c5a34d5f3c56c7f6ed0 /src/core/slice.c | |
parent | fc03c536538cd5fb29f42eb4a6920f13a9a98e54 (diff) | |
download | systemd-bea1a01310efdf51b8c609a300d49bf5c25509c3.tar.gz |
strv: wrap strv_new() in a macro so that NULL sentinel is implicit
Diffstat (limited to 'src/core/slice.c')
-rw-r--r-- | src/core/slice.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/slice.c b/src/core/slice.c index a8bdbebe4b..74d056f7bc 100644 --- a/src/core/slice.c +++ b/src/core/slice.c @@ -124,7 +124,7 @@ static int slice_load_root_slice(Unit *u) { if (!u->description) u->description = strdup("Root Slice"); if (!u->documentation) - u->documentation = strv_new("man:systemd.special(7)", NULL); + u->documentation = strv_new("man:systemd.special(7)"); return 1; } @@ -147,7 +147,7 @@ static int slice_load_system_slice(Unit *u) { if (!u->description) u->description = strdup("System Slice"); if (!u->documentation) - u->documentation = strv_new("man:systemd.special(7)", NULL); + u->documentation = strv_new("man:systemd.special(7)"); return 1; } |