From 064f8797e08460beafa5ceb021e58b61a0d0d144 Mon Sep 17 00:00:00 2001 From: Chengwei Yang Date: Fri, 19 Jul 2013 10:04:40 +0800 Subject: [PATCH v2] Fix build with "--enable-stats" Bug: https://bugs.freedesktop.org/show_bug.cgi?id=54445 Signed-off-by: Chengwei Yang --- bus/stats.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bus/stats.c b/bus/stats.c index 0c71a54..ec768ec 100644 --- a/bus/stats.c +++ b/bus/stats.c @@ -165,7 +165,7 @@ bus_stats_handle_get_connection_stats (DBusConnection *caller_connection, bus_connection_get_n_services_owned (stats_connection)) || !_dbus_asv_add_uint32 (&arr_iter, "PeakBusNames", bus_connection_get_peak_bus_names (stats_connection)) || - !_dbus_asv_add_uint32 (&arr_iter, "UniqueName", + !_dbus_asv_add_string (&arr_iter, "UniqueName", bus_connection_get_name (stats_connection))) { _dbus_asv_abandon (&iter, &arr_iter); -- 1.7.9.5