summaryrefslogtreecommitdiff
path: root/src/nspawn/nspawn-register.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2017-12-23 16:59:56 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2017-12-23 18:48:16 +0900
commit89ada3ba0867fb1330a470ea17ae698c81d8762e (patch)
tree081b02a01b2985dbeac3cd4c17b05c07616263f7 /src/nspawn/nspawn-register.c
parent9c0320e7abda82f78c448c2b173d2809dac6bfb1 (diff)
downloadsystemd-89ada3ba0867fb1330a470ea17ae698c81d8762e.tar.gz
bus-unit-util: add socket unit related options
Also, split bus_append_unit_property_assignment().
Diffstat (limited to 'src/nspawn/nspawn-register.c')
-rw-r--r--src/nspawn/nspawn-register.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nspawn/nspawn-register.c b/src/nspawn/nspawn-register.c
index ef9db31df7..07d68242c6 100644
--- a/src/nspawn/nspawn-register.c
+++ b/src/nspawn/nspawn-register.c
@@ -203,7 +203,7 @@ int register_machine(
if (r < 0)
return r;
- r = bus_append_unit_property_assignment_many(m, properties);
+ r = bus_append_unit_property_assignment_many(m, UNIT_SERVICE, properties);
if (r < 0)
return r;
@@ -339,7 +339,7 @@ int allocate_scope(
if (r < 0)
return r;
- r = bus_append_unit_property_assignment_many(m, properties);
+ r = bus_append_unit_property_assignment_many(m, UNIT_SCOPE, properties);
if (r < 0)
return r;