X-Git-Url: https://uglyman.kremlin.cc/gitweb/gitweb.cgi?p=systembsd.git;a=blobdiff_plain;f=src%2Finterfaces%2Fhostnamed%2Fhostnamed.c;h=cf066b285d64914f04fb0c1689cc12bcefc75fcf;hp=979df6e78da437ed16d09f7b034ef61137804ab8;hb=509599f043fd77c5eee595ebce117ff9e11a5324;hpb=c12c41f4eac2e4d7c3244af3c49735aeffd78e2d diff --git a/src/interfaces/hostnamed/hostnamed.c b/src/interfaces/hostnamed/hostnamed.c index 979df6e..cf066b2 100644 --- a/src/interfaces/hostnamed/hostnamed.c +++ b/src/interfaces/hostnamed/hostnamed.c @@ -196,9 +196,8 @@ static void hostnamed_on_bus_acquired(GDBusConnection *conn, } else { dbus_interface_exported = TRUE; - g_printf("exported %s's interface on the system bus...", name); + g_printf("exported %s's interface on the system bus...\n", name); } - } static void hostnamed_on_name_acquired(GDBusConnection *conn, @@ -206,7 +205,6 @@ static void hostnamed_on_name_acquired(GDBusConnection *conn, gpointer user_data) { g_printf("success!\n"); - } static void hostnamed_on_name_lost(GDBusConnection *conn, @@ -215,12 +213,11 @@ static void hostnamed_on_name_lost(GDBusConnection *conn, if(!conn) { - g_printf("failed to connect to the system bus while trying to acquire name '%s': either dbus-daemon isn't running or we don't have permission to push names and/or their interfaces to it", name); - + g_printf("failed to connect to the system bus while trying to acquire name '%s': either dbus-daemon isn't running or we don't have permission to push names and/or their interfaces to it.\n", name); hostnamed_mem_clean(); } - g_printf("lost name %s, exiting...", name); + g_printf("lost name %s, exiting...\n", name); hostnamed_mem_clean(); } @@ -228,7 +225,7 @@ static void hostnamed_on_name_lost(GDBusConnection *conn, /* --- end bus/name handlers, begin misc unix functions --- */ /* safe call to clean and then exit - * this stops our GMainLoop safely before letting main() return */ + * this stops our GMainLoop safely before letting main() return */ void hostnamed_mem_clean() { g_printf("exiting...\n");