summaryrefslogtreecommitdiffstats
path: root/dbus/dbus-watch.c
diff options
context:
space:
mode:
Diffstat (limited to 'dbus/dbus-watch.c')
-rw-r--r--dbus/dbus-watch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dbus/dbus-watch.c b/dbus/dbus-watch.c
index 019b8b1c..a7a5adba 100644
--- a/dbus/dbus-watch.c
+++ b/dbus/dbus-watch.c
@@ -594,8 +594,8 @@ dbus_watch_handle (DBusWatch *watch,
#ifndef DBUS_DISABLE_CHECKS
if (watch->fd < 0 || watch->flags == 0)
{
- _dbus_warn ("%s: Watch is invalid, it should have been removed\n",
- _DBUS_FUNCTION_NAME);
+ _dbus_warn_check_failed ("%s: Watch is invalid, it should have been removed\n",
+ _DBUS_FUNCTION_NAME);
return TRUE;
}
#endif