[PATCH 14/22] udev: Fix removing of the wake up handler
Pauli
ext-pauli.nieminen at nokia.com
Wed Dec 29 11:27:26 PST 2010
From: Pauli Nieminen <ext-pauli.nieminen at nokia.com>
RemoveBlockAndWakeupHandlers requires caller to pass same block data
parameter as for RegisterBlockAndWakeupHandlers.
Signed-off-by: Pauli Nieminen <ext-pauli.nieminen at nokia.com>
---
config/udev.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/config/udev.c b/config/udev.c
index 393723c..5943264 100644
--- a/config/udev.c
+++ b/config/udev.c
@@ -302,7 +302,7 @@ config_udev_fini(void)
udev = udev_monitor_get_udev(udev_monitor);
RemoveGeneralSocket(udev_monitor_get_fd(udev_monitor));
- RemoveBlockAndWakeupHandlers((BlockHandlerProcPtr)NoopDDA, wakeup_handler, udev_monitor);
+ RemoveBlockAndWakeupHandlers((BlockHandlerProcPtr)NoopDDA, wakeup_handler, NULL);
udev_monitor_unref(udev_monitor);
udev_monitor = NULL;
udev_unref(udev);
--
1.7.0.4
More information about the xorg-devel
mailing list