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: reduce heap usage for unit objects
[elogind.git]
/
src
/
automount.c
diff --git
a/src/automount.c
b/src/automount.c
index b70f8b4684ad64d82c1fabe6a346219d5ecf418d..c4191f6706e2adbbbbf91936520d022de8b7a0f8 100644
(file)
--- a/
src/automount.c
+++ b/
src/automount.c
@@
-836,6
+836,7
@@
DEFINE_STRING_TABLE_LOOKUP(automount_state, AutomountState);
const UnitVTable automount_vtable = {
.suffix = ".automount",
+ .object_size = sizeof(Automount),
.sections =
"Unit\0"
"Automount\0"