summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorPauli Nieminen <ext-pauli.nieminen@nokia.com>2010-12-30 19:19:41 +0200
committerDaniel Stone <daniel@fooishbar.org>2010-12-31 12:52:51 +0000
commit3e1455505addc7e52178fa04399aef2a8522c921 (patch)
tree95938100f832801b95fc2c6b57ade548b86e0cdb /config
parent13ac3deedb532b39f41dcd45d70f9eb4a85c1f58 (diff)
udev: Fix removing of the wake up handler
RemoveBlockAndWakeupHandlers requires caller to pass same block data parameter as for RegisterBlockAndWakeupHandlers. Signed-off-by: Pauli Nieminen <ext-pauli.nieminen@nokia.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Daniel Stone <daniel@fooishbar.org>
Diffstat (limited to 'config')
-rw-r--r--config/udev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/udev.c b/config/udev.c
index e401894a4..ab27c98a5 100644
--- a/config/udev.c
+++ b/config/udev.c
@@ -314,7 +314,7 @@ config_udev_fini(void)
udev = udev_monitor_get_udev(udev_monitor);
RemoveGeneralSocket(udev_monitor_get_fd(udev_monitor));
- RemoveBlockAndWakeupHandlers(block_handler, wakeup_handler, udev_monitor);
+ RemoveBlockAndWakeupHandlers(block_handler, wakeup_handler, NULL);
udev_monitor_unref(udev_monitor);
udev_monitor = NULL;
udev_unref(udev);