From 52b6106a3336ba092b5be837b3499b2a60bc8d5f Mon Sep 17 00:00:00 2001 From: Vasiliy Balyasnyy Date: Mon, 16 Sep 2013 15:14:33 +0400 Subject: dbus-mainloop.c: undeclared variable n_fds if define MAINLOOP_SPEW. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=69410 Reviewed-by: Chengwei Yang Reviewed-by: Simon McVittie --- dbus/dbus-mainloop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbus/dbus-mainloop.c b/dbus/dbus-mainloop.c index 8b4da164..7ff9dc2c 100644 --- a/dbus/dbus-mainloop.c +++ b/dbus/dbus-mainloop.c @@ -654,7 +654,7 @@ _dbus_loop_iterate (DBusLoop *loop, timeout = MIN (timeout, _dbus_get_oom_wait ()); #if MAINLOOP_SPEW - _dbus_verbose (" polling on %d descriptors timeout %ld\n", n_fds, timeout); + _dbus_verbose (" polling on %d descriptors timeout %ld\n", _DBUS_N_ELEMENTS (ready_fds), timeout); #endif n_ready = _dbus_socket_set_poll (loop->socket_set, ready_fds, -- cgit v1.2.3