summaryrefslogtreecommitdiffstats
path: root/src/mandi_daemon.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mandi_daemon.c')
-rw-r--r--src/mandi_daemon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mandi_daemon.c b/src/mandi_daemon.c
index d11580d..e02522a 100644
--- a/src/mandi_daemon.c
+++ b/src/mandi_daemon.c
@@ -208,7 +208,7 @@ static dbus_bool_t mandi_daemon_add_watch(DBusWatch *watch, void *data) {
fprintf(stderr, "mandi_daemon_add_watch(): READABLE\n");
#endif
daemon->bus_read_watch = watch;
- daemon->bus_read_fd = dbus_watch_get_fd(daemon->bus_read_watch);
+ daemon->bus_read_fd = dbus_watch_get_unix_fd(daemon->bus_read_watch);
}
/* do nothing for WRITABLE watch, we dispatch when needed */
return TRUE;