From: Sami Kerola Date: Sat, 31 Dec 2016 21:29:27 +0000 (+0000) Subject: hwclock: remove trailing dot from messages that include system error message X-Git-Tag: v2.30-rc1~267^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c9a86ff664a20a0c136f19e828cd7c9c9febaf34;p=thirdparty%2Futil-linux.git hwclock: remove trailing dot from messages that include system error message Signed-off-by: Sami Kerola --- diff --git a/sys-utils/hwclock-cmos.c b/sys-utils/hwclock-cmos.c index ee293daece..013fe094df 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 92f04435b2..411ec433a5 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); }