diff options
author | Ralf Habacker <ralf.habacker@freenet.de> | 2018-12-07 19:06:35 +0100 |
---|---|---|
committer | Simon McVittie <smcv@collabora.com> | 2018-12-11 10:39:26 +0000 |
commit | a7d1e275e7e01da91d584346326e46c469625d69 (patch) | |
tree | d9c656fabb5f6995f57683e8eeb7a0dbd8719bbc | |
parent | 5a3dd741fbfd696bf4be98d4653a236207738c0c (diff) | |
download | dbus-a7d1e275e7e01da91d584346326e46c469625d69.tar.gz |
Refer to correct bus in test-ids error message
The test tries to connect to the session bus, not system bus.
Reviewed-by: Simon McVittie <smcv@collabora.com>
-rw-r--r-- | test/name-test/test-ids.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/name-test/test-ids.c b/test/name-test/test-ids.c index be449abd..37c76835 100644 --- a/test/name-test/test-ids.c +++ b/test/name-test/test-ids.c @@ -40,7 +40,7 @@ main (int argc, connection = dbus_bus_get (DBUS_BUS_SESSION, &error); if (connection == NULL) { - fprintf (stderr, "*** Failed to open connection to system bus: %s\n", + fprintf (stderr, "*** Failed to open connection to session bus: %s\n", error.message); dbus_error_free (&error); return 1; |