From a51986154f7729b24c210ff09e45b0bf21b56a1f Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Tue, 19 Dec 2017 19:15:50 +0900 Subject: [PATCH] timedatectl: fix status output (#7696) Follow-up for 3ec530a1890925efe347f739917dd4078c1b1942. Fixes #7693. --- src/timedate/timedatectl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/timedate/timedatectl.c b/src/timedate/timedatectl.c index d80a917..e851b4d 100644 --- a/src/timedate/timedatectl.c +++ b/src/timedate/timedatectl.c @@ -129,8 +129,8 @@ static void print_status_info(const StatusInfo *i) { "systemd-timesyncd.service active: %s\n" " RTC in local TZ: %s\n", strna(i->timezone), have_time && n > 0 ? a : "n/a", - i->ntp_capable ? yes_no(i->ntp_enabled) : "n/a", yes_no(i->ntp_synced), + i->ntp_capable ? yes_no(i->ntp_enabled) : "n/a", yes_no(i->rtc_local)); if (i->rtc_local) -- 2.7.4