]> git.ipfire.org Git - thirdparty/dbus.git/commitdiff
Refer to correct bus in test-ids error message
authorRalf Habacker <ralf.habacker@freenet.de>
Fri, 7 Dec 2018 18:06:35 +0000 (19:06 +0100)
committerSimon McVittie <smcv@collabora.com>
Tue, 11 Dec 2018 10:39:26 +0000 (10:39 +0000)
The test tries to connect to the session bus, not system bus.

Reviewed-by: Simon McVittie <smcv@collabora.com>
test/name-test/test-ids.c

index be449abd5594c68bc924a68100a54b62c90e35bb..37c76835ea43429a55d329a6c94c67970c867499 100644 (file)
@@ -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;