summaryrefslogtreecommitdiff
path: root/tools/dbus-print-message.c
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@novell.com>2008-08-29 08:48:45 -0400
committerColin Walters <walters@verbum.org>2008-08-29 08:48:45 -0400
commit1859c66351285de313d1ccd2540e9d71aaf768a3 (patch)
tree1713d5c725dbf9a4f7d44951e3106eb349295da1 /tools/dbus-print-message.c
parent2a9b0fbdeebea450801c7f26786c609689ce73b7 (diff)
downloaddbus-1859c66351285de313d1ccd2540e9d71aaf768a3.tar.gz
Print serial in dbus-monitor
* tools/dbus-print-message.c: Print serial too. Signed-off-by: Colin Walters <walters@verbum.org>
Diffstat (limited to 'tools/dbus-print-message.c')
-rw-r--r--tools/dbus-print-message.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/dbus-print-message.c b/tools/dbus-print-message.c
index d5fced34..ea15769f 100644
--- a/tools/dbus-print-message.c
+++ b/tools/dbus-print-message.c
@@ -263,7 +263,8 @@ print_message (DBusMessage *message, dbus_bool_t literal)
{
case DBUS_MESSAGE_TYPE_METHOD_CALL:
case DBUS_MESSAGE_TYPE_SIGNAL:
- printf (" path=%s; interface=%s; member=%s\n",
+ printf (" serial=%u path=%s; interface=%s; member=%s\n",
+ dbus_message_get_serial (message),
dbus_message_get_path (message),
dbus_message_get_interface (message),
dbus_message_get_member (message));