summaryrefslogtreecommitdiff
path: root/tools/dbus-print-message.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/dbus-print-message.c')
-rw-r--r--tools/dbus-print-message.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/tools/dbus-print-message.c b/tools/dbus-print-message.c
index bac538ec..bbc0d239 100644
--- a/tools/dbus-print-message.c
+++ b/tools/dbus-print-message.c
@@ -270,12 +270,14 @@ print_message (DBusMessage *message, dbus_bool_t literal)
break;
case DBUS_MESSAGE_TYPE_METHOD_RETURN:
- printf ("\n");
+ printf (" reply_serial=%u\n",
+ dbus_message_get_reply_serial (message));
break;
case DBUS_MESSAGE_TYPE_ERROR:
- printf (" error_name=%s\n",
- dbus_message_get_error_name (message));
+ printf (" error_name=%s reply_serial=%u\n",
+ dbus_message_get_error_name (message),
+ dbus_message_get_reply_serial (message));
break;
default: