chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e89268
)
hostnamed: Fix "SetStaticHostname" debug output
author
Bastien Nocera
<hadess@hadess.net>
Sun, 18 Sep 2011 13:10:07 +0000
(14:10 +0100)
committer
Lennart Poettering
<lennart@poettering.net>
Mon, 19 Sep 2011 20:39:29 +0000
(22:39 +0200)
Was using the wrong property (eg. not the one we just set)
https://bugs.freedesktop.org/show_bug.cgi?id=40987
src/hostnamed.c
patch
|
blob
|
history
diff --git
a/src/hostnamed.c
b/src/hostnamed.c
index 9e8825da75599e3db0b27421d37910fe424c0fa1..0db78c096b82f49d4a0c274607795aedef4e9af5 100644
(file)
--- 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",