X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fcore%2Fswap.c;h=e0627db965ab10f5f47b03f3723445c72931d1c3;hb=d14ab08b29d5b0b3ead6e63ac8be472f273011f9;hp=1d02eb2978923f83bd1f7bcb9d3d5653e11a70dc;hpb=613b411c947635136637f8cdd66b94512f761eab;p=elogind.git diff --git a/src/core/swap.c b/src/core/swap.c index 1d02eb297..e0627db96 100644 --- a/src/core/swap.c +++ b/src/core/swap.c @@ -645,6 +645,7 @@ static int swap_spawn(Swap *s, ExecCommand *c, pid_t *_pid) { UNIT(s)->manager->cgroup_supported, UNIT(s)->cgroup_path, UNIT(s)->id, + 0, NULL, s->exec_runtime, &pid); @@ -1182,7 +1183,6 @@ static int swap_dispatch_io(sd_event_source *source, int fd, uint32_t revents, v } static Unit *swap_following(Unit *u) { - _cleanup_free_ char *p = NULL; Swap *s = SWAP(u); Swap *other, *first = NULL; @@ -1336,7 +1336,6 @@ int swap_process_new_device(Manager *m, struct udev_device *dev) { } int swap_process_removed_device(Manager *m, struct udev_device *dev) { - _cleanup_free_ char *e = NULL; const char *dn; int r = 0; Swap *s; @@ -1447,7 +1446,6 @@ const UnitVTable swap_vtable = { .bus_interface = "org.freedesktop.systemd1.Swap", .bus_vtable = bus_swap_vtable, - .bus_changing_properties = bus_swap_changing_properties, .bus_set_property = bus_swap_set_property, .bus_commit_properties = bus_swap_commit_properties,