1
0
mirror of https://github.com/systemd/systemd.git synced 2024-10-28 20:25:38 +03:00

hostnamed: Fix "SetStaticHostname" debug output

Was using the wrong property (eg. not the one we just set)

https://bugs.freedesktop.org/show_bug.cgi?id=40987
This commit is contained in:
Bastien Nocera 2011-09-18 14:10:07 +01:00 committed by Lennart Poettering
parent 0e89268b28
commit 1e2591d48c

View File

@ -396,7 +396,7 @@ static DBusHandlerResult hostname_message_handler(
return bus_send_error_reply(connection, message, NULL, r);
}
log_info("Changed static host name to '%s'", strempty(data[PROP_HOSTNAME]));
log_info("Changed static host name to '%s'", strempty(data[PROP_STATIC_HOSTNAME]));
changed = bus_properties_changed_new(
"/org/freedesktop/hostname1",