diff options
author | J William Piggott | 2017-04-20 01:54:28 +0200 |
---|---|---|
committer | J William Piggott | 2017-04-27 05:19:56 +0200 |
commit | 142efd24061f2ba8a825c4d2368b6271b2d79c2f (patch) | |
tree | fa5d704b684671dd7dad95a0779ee1ea28d848ce /sys-utils/hwclock.c | |
parent | hwclock: extra messages for debug only (diff) | |
download | kernel-qcow2-util-linux-142efd24061f2ba8a825c4d2368b6271b2d79c2f.tar.gz kernel-qcow2-util-linux-142efd24061f2ba8a825c4d2368b6271b2d79c2f.tar.xz kernel-qcow2-util-linux-142efd24061f2ba8a825c4d2368b6271b2d79c2f.zip |
hwclock: make clock test mode message consistent
Signed-off-by: J William Piggott <elseifthen@gmx.com>
Diffstat (limited to 'sys-utils/hwclock.c')
-rw-r--r-- | sys-utils/hwclock.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys-utils/hwclock.c b/sys-utils/hwclock.c index 31ee8fed7..4a187c5de 100644 --- a/sys-utils/hwclock.c +++ b/sys-utils/hwclock.c @@ -391,7 +391,7 @@ set_hardware_clock(const struct hwclock_control *ctl, const time_t newtime) new_broken_time.tm_sec, (long)newtime); if (ctl->testing) - printf(_("Clock not changed - testing only.\n")); + printf(_("Test mode: clock was not changed\n")); else { ur->set_hardware_clock(ctl, &new_broken_time); } @@ -636,7 +636,7 @@ set_system_clock(const struct hwclock_control *ctl, const bool hclock_valid, } if (ctl->testing) { printf(_ - ("Not setting system clock because running in test mode.\n")); + ("Test mode: clock was not changed\n")); retcode = 0; } else { const struct timezone tz = { minuteswest, 0 }; @@ -724,7 +724,7 @@ static int set_system_clock_timezone(const struct hwclock_control *ctl) } if (ctl->testing) { printf(_ - ("Not setting system clock because running in test mode.\n")); + ("Test mode: clock was not changed\n")); retcode = 0; } else { const struct timezone tz_utc = { 0, 0 }; |