summaryrefslogtreecommitdiff
path: root/src/core/device.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/device.c')
-rw-r--r--src/core/device.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/device.c b/src/core/device.c
index 63bae978a6..19b688df55 100644
--- a/src/core/device.c
+++ b/src/core/device.c
@@ -166,6 +166,8 @@ static int device_serialize(Unit *u, FILE *f, FDSet *fds) {
assert(fds);
unit_serialize_item(u, f, "state", device_state_to_string(d->state));
+
+ return 0;
}
static int device_deserialize_item(Unit *u, const char *key, const char *value, FDSet *fds) {