chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
unit-printf: before resolving exec context specifiers check whether the object actual...
[elogind.git]
/
src
/
core
/
swap.c
diff --git
a/src/core/swap.c
b/src/core/swap.c
index 8ba60559c698455fb48e5ce510c24549c4849b6b..d5bf153f29bb91ce8e129600c59b9fc993c2883c 100644
(file)
--- a/
src/core/swap.c
+++ b/
src/core/swap.c
@@
-1355,6
+1355,8
@@
DEFINE_STRING_TABLE_LOOKUP(swap_result, SwapResult);
const UnitVTable swap_vtable = {
.object_size = sizeof(Swap),
const UnitVTable swap_vtable = {
.object_size = sizeof(Swap),
+ .exec_context_offset = offsetof(Swap, exec_context),
+
.sections =
"Unit\0"
"Swap\0"
.sections =
"Unit\0"
"Swap\0"