X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fcore%2Fswap.c;h=a2f11875a2e3e3409a3cca0031d161457edde42d;hp=c8e25d0665ed1d9428035fbdada42b95192e6b26;hb=71645acac27da55d510f2e4d61cc61b4e5b93035;hpb=f274ece0f76b5709408821e317e87aef76123db6 diff --git a/src/core/swap.c b/src/core/swap.c index c8e25d066..a2f11875a 100644 --- a/src/core/swap.c +++ b/src/core/swap.c @@ -1382,13 +1382,15 @@ DEFINE_STRING_TABLE_LOOKUP(swap_result, SwapResult); const UnitVTable swap_vtable = { .object_size = sizeof(Swap), - .exec_context_offset = offsetof(Swap, exec_context), .sections = "Unit\0" "Swap\0" "Install\0", + .exec_context_offset = offsetof(Swap, exec_context), + .exec_section = "Swap", + .no_alias = true, .no_instances = true,