diff options
author | Sami Kerola | 2016-12-31 22:29:27 +0100 |
---|---|---|
committer | Sami Kerola | 2017-02-05 00:39:38 +0100 |
commit | c9a86ff664a20a0c136f19e828cd7c9c9febaf34 (patch) | |
tree | 47291af304673dfb655b17d75f00d136c3b53572 | |
parent | hwclock: make --date=argument less prone to injection (diff) | |
download | kernel-qcow2-util-linux-c9a86ff664a20a0c136f19e828cd7c9c9febaf34.tar.gz kernel-qcow2-util-linux-c9a86ff664a20a0c136f19e828cd7c9c9febaf34.tar.xz kernel-qcow2-util-linux-c9a86ff664a20a0c136f19e828cd7c9c9febaf34.zip |
hwclock: remove trailing dot from messages that include system error message
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
-rw-r--r-- | sys-utils/hwclock-cmos.c | 2 | ||||
-rw-r--r-- | sys-utils/hwclock-rtc.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys-utils/hwclock-cmos.c b/sys-utils/hwclock-cmos.c index ee293daec..013fe094d 100644 --- a/sys-utils/hwclock-cmos.c +++ b/sys-utils/hwclock-cmos.c @@ -653,7 +653,7 @@ static int get_permissions_cmos(void) } else if (rc != 0) { rc = errno; warn(_("unable to get I/O port access: " - "the iopl(3) call failed.")); + "the iopl(3) call failed")); if (rc == EPERM && geteuid()) warnx(_("Probably you need root privileges.\n")); } diff --git a/sys-utils/hwclock-rtc.c b/sys-utils/hwclock-rtc.c index 92f04435b..411ec433a 100644 --- a/sys-utils/hwclock-rtc.c +++ b/sys-utils/hwclock-rtc.c @@ -358,7 +358,7 @@ static int set_hardware_clock_rtc(const struct hwclock_control *ctl, #endif if (rc == -1) { - warn(_("ioctl(%s) to %s to set the time failed."), + warn(_("ioctl(%s) to %s to set the time failed"), ioctlname, rtc_dev_name); hwclock_exit(ctl, EX_IOERR); } |