X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fcore%2Funit.c;h=991111ab31facaad6fcf4c8f9e29f7ca41e3986e;hp=c6c9c18653485b56d15aa612f44e44f270dae9c2;hb=6c12b52e19640747e96f89d85422941a23dc6b29;hpb=a00963a2e4e98c0e4ef477b63b70c5e71d65fdc1 diff --git a/src/core/unit.c b/src/core/unit.c index c6c9c1865..991111ab3 100644 --- a/src/core/unit.c +++ b/src/core/unit.c @@ -60,7 +60,8 @@ const UnitVTable * const unit_vtable[_UNIT_TYPE_MAX] = { [UNIT_SNAPSHOT] = &snapshot_vtable, [UNIT_SWAP] = &swap_vtable, [UNIT_PATH] = &path_vtable, - [UNIT_SLICE] = &slice_vtable + [UNIT_SLICE] = &slice_vtable, + [UNIT_SCOPE] = &scope_vtable }; Unit *unit_new(Manager *m, size_t size) {