summaryrefslogtreecommitdiffstats
path: root/tools/dbus-send.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/dbus-send.c')
-rw-r--r--tools/dbus-send.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/dbus-send.c b/tools/dbus-send.c
index 4c7a3666..37b72067 100644
--- a/tools/dbus-send.c
+++ b/tools/dbus-send.c
@@ -428,7 +428,8 @@ main (int argc, char *argv[])
&error);
if (dbus_error_is_set (&error))
{
- fprintf (stderr, "Error: %s\n",
+ fprintf (stderr, "Error %s: %s\n",
+ error.name,
error.message);
exit (1);
}