summaryrefslogtreecommitdiff
path: root/bus/dbusimpl.c
diff options
context:
space:
mode:
Diffstat (limited to 'bus/dbusimpl.c')
-rw-r--r--bus/dbusimpl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/bus/dbusimpl.c b/bus/dbusimpl.c
index 7b8294b2..4a4781a4 100644
--- a/bus/dbusimpl.c
+++ b/bus/dbusimpl.c
@@ -733,7 +733,8 @@ bus_dbus_impl_name_has_owner (BusDBusImpl *dbus,
g_dbus_method_invocation_return_error (invocation,
G_DBUS_ERROR,
G_DBUS_ERROR_FAILED,
- "'%s' is not a legal bus name");
+ "'%s' is not a legal bus name",
+ name ? name : "(null)");
return;
}