summaryrefslogtreecommitdiff
path: root/src/hostnamed.c
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2011-09-18 14:10:07 +0100
committerLennart Poettering <lennart@poettering.net>2011-09-19 22:39:29 +0200
commit1e2591d48c642e30847ab6038088f8c1f0ec3b70 (patch)
treeb75a0d9ba41e8d50eafc2dec7ef7a289bf076f17 /src/hostnamed.c
parent0e89268b285657bf1b52cebb12fe42b5ac630582 (diff)
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
Diffstat (limited to 'src/hostnamed.c')
-rw-r--r--src/hostnamed.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hostnamed.c b/src/hostnamed.c
index 9e8825da75..0db78c096b 100644
--- a/src/hostnamed.c
+++ b/src/hostnamed.c
@@ -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",