summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalf Habacker <ralf.habacker@freenet.de>2015-02-17 08:26:54 +0100
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2015-02-24 13:30:23 +0000
commit267ec3b8ad44e3ad0a27c46f547f3dbfc90ec2b9 (patch)
treeff3a81a3f3c90b2c850fa391fa6cf6e93cc23d4f
parent360a68eddd62226c6dcd5d45b8edcfe570d827b3 (diff)
downloaddbus-267ec3b8ad44e3ad0a27c46f547f3dbfc90ec2b9.tar.gz
dbus-267ec3b8ad44e3ad0a27c46f547f3dbfc90ec2b9.tar.bz2
dbus-267ec3b8ad44e3ad0a27c46f547f3dbfc90ec2b9.zip
dbus-monitor: Keep term 'dest' in --monitor output in sync with related watch expression.
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=88896 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk> [smcv: rebase onto differently indented version of previous commit] Reviewed-by: Ralf Habacker <ralf.habacker@freenet.de>
-rw-r--r--tools/dbus-print-message.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/dbus-print-message.c b/tools/dbus-print-message.c
index d598b533..4a2a9c84 100644
--- a/tools/dbus-print-message.c
+++ b/tools/dbus-print-message.c
@@ -544,14 +544,14 @@ print_message (DBusMessage *message, dbus_bool_t literal, long sec, long usec)
{
if (sec != 0 || usec != 0)
{
- printf ("%s time=%ld.%06ld sender=%s -> dest=%s",
+ printf ("%s time=%ld.%06ld sender=%s -> destination=%s",
type_to_name (message_type), sec, usec,
sender ? sender : "(null sender)",
destination ? destination : "(null destination)");
}
else
{
- printf ("%s sender=%s -> dest=%s",
+ printf ("%s sender=%s -> destination=%s",
type_to_name (message_type),
sender ? sender : "(null sender)",
destination ? destination : "(null destination)");