From a7d1e275e7e01da91d584346326e46c469625d69 Mon Sep 17 00:00:00 2001 From: Ralf Habacker Date: Fri, 7 Dec 2018 19:06:35 +0100 Subject: [PATCH] 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 --- test/name-test/test-ids.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/name-test/test-ids.c b/test/name-test/test-ids.c index be449abd5..37c76835e 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; -- 2.47.3