X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fcore%2Fdevice.c;h=6b489a4c9d0a27ae8f9a97d671f31eca78a66f7f;hb=f5b51ea7fcb0b6380c3ceb4d4f3f22f647c6fd32;hp=eb976b8601199840d5e4e747b75d71cc52b48e35;hpb=c43b2132f37264600cc26e07c8d85dfdd6c969f0;p=elogind.git diff --git a/src/core/device.c b/src/core/device.c index eb976b860..6b489a4c9 100644 --- a/src/core/device.c +++ b/src/core/device.c @@ -140,7 +140,7 @@ static void device_set_state(Device *d, DeviceState state) { unit_notify(UNIT(d), state_translation_table[old_state], state_translation_table[state], true); } -static int device_coldplug(Unit *u) { +static int device_coldplug(Unit *u, Hashmap *deferred_work) { Device *d = DEVICE(u); assert(d);