summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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",