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>
This commit is contained in:
Ralf Habacker 2018-12-07 19:06:35 +01:00 committed by Simon McVittie
parent 5a3dd741fb
commit a7d1e275e7

View 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;