tree-wide: use SPECIAL_ROOT_SLICE

This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2017-12-15 14:57:07 +01:00
parent a789420775
commit e5af6e0e2d
4 changed files with 21 additions and 17 deletions
+2 -1
View File
@@ -37,6 +37,7 @@
#include "machined.h"
#include "process-util.h"
#include "signal-util.h"
#include "special.h"
Manager *manager_new(void) {
Manager *m;
@@ -112,7 +113,7 @@ static int manager_add_host_machine(Manager *m) {
if (!rd)
return log_oom();
unit = strdup("-.slice");
unit = strdup(SPECIAL_ROOT_SLICE);
if (!unit)
return log_oom();