diff options
author | Lennart Poettering <lennart@poettering.net> | 2018-05-02 14:24:39 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2018-05-03 17:45:42 +0200 |
commit | 910384c82177bac586a6ba543d50ca6aa63b8710 (patch) | |
tree | a08a3c209a29bab26c95987fa157905371638d1e /src/nspawn/nspawn-register.c | |
parent | nspawn: don't make /proc/kmsg node too special (diff) | |
download | systemd-910384c82177bac586a6ba543d50ca6aa63b8710.tar.xz systemd-910384c82177bac586a6ba543d50ca6aa63b8710.zip |
nspawn: let's make use of SPECIAL_MACHINE_SLICE macro, after all we already set it
Diffstat (limited to 'src/nspawn/nspawn-register.c')
-rw-r--r-- | src/nspawn/nspawn-register.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nspawn/nspawn-register.c b/src/nspawn/nspawn-register.c index 643e00400f..c0cdb7c0d7 100644 --- a/src/nspawn/nspawn-register.c +++ b/src/nspawn/nspawn-register.c @@ -11,6 +11,7 @@ #include "bus-unit-util.h" #include "bus-util.h" #include "nspawn-register.h" +#include "special.h" #include "stat-util.h" #include "strv.h" #include "util.h" @@ -309,7 +310,7 @@ int allocate_scope( "PIDs", "au", 1, pid, "Description", "s", description, "Delegate", "b", 1, - "Slice", "s", isempty(slice) ? "machine.slice" : slice); + "Slice", "s", isempty(slice) ? SPECIAL_MACHINE_SLICE : slice); if (r < 0) return bus_log_create_error(r); |