From 4e3b50f74db7f7cd958f0cd814a72234f1f7765d Mon Sep 17 00:00:00 2001 From: Ralf Habacker Date: Mon, 16 Feb 2015 14:29:55 +0100 Subject: [PATCH 3/5] dbus-monitor: Remove empty column in --profile mode. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=89165 --- tools/dbus-monitor.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tools/dbus-monitor.c b/tools/dbus-monitor.c index 3045aa8..14ceae9 100644 --- a/tools/dbus-monitor.c +++ b/tools/dbus-monitor.c @@ -124,8 +124,8 @@ typedef enum static void profile_print_headers (void) { - printf ("#type\tsec\tusec\tserial\tsender\tdestination\tpath\tinterface\tmember\n"); - printf ("#\t\t\t\t\t\t\tin_reply_to\n"); + printf ("#type\ttimestamp\tserial\tsender\tdestination\tpath\tinterface\tmember\n"); + printf ("#\t\t\t\t\tin_reply_to\n"); } static void @@ -145,8 +145,6 @@ profile_print_with_attrs (const char *type, DBusMessage *message, if (attrs & PROFILE_ATTRIBUTE_FLAG_REPLY_SERIAL) printf ("\t%u", dbus_message_get_reply_serial (message)); - else - printf ("\t"); if (attrs & PROFILE_ATTRIBUTE_FLAG_PATH) printf ("\t%s", TRAP_NULL_STRING (dbus_message_get_path (message))); -- 1.8.4.5