summaryrefslogtreecommitdiff
path: root/src/timedate
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-08-03 14:38:36 +0200
committerGitHub <noreply@github.com>2016-08-03 14:38:36 +0200
commit5e0bb1a6287387f179540895e43647a0baa8c724 (patch)
treee823e540cbfe3ba0d2bf39a465788619626fb44a /src/timedate
parente5bc3f4fdc2ac2f68b781adc958e9570e577538b (diff)
parent72ccee50d0d08e2339ec283d669eb9ed282aac29 (diff)
Merge pull request #3828 from keszybz/drop-systemd-vconsole-setup-service
Update documentation for systemd-vconsole-setup
Diffstat (limited to 'src/timedate')
-rw-r--r--src/timedate/timedated.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/timedate/timedated.c b/src/timedate/timedated.c
index ffec609c69..490929e93b 100644
--- a/src/timedate/timedated.c
+++ b/src/timedate/timedated.c
@@ -637,7 +637,7 @@ static int method_set_ntp(sd_bus_message *m, void *userdata, sd_bus_error *error
return r;
c->use_ntp = enabled;
- log_info("Set NTP to %s", enabled ? "enabled" : "disabled");
+ log_info("Set NTP to %sd", enable_disable(enabled));
(void) sd_bus_emit_properties_changed(sd_bus_message_get_bus(m), "/org/freedesktop/timedate1", "org.freedesktop.timedate1", "NTP", NULL);