]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
hwclock: remove trailing dot from messages that include system error message
authorSami Kerola <kerolasa@iki.fi>
Sat, 31 Dec 2016 21:29:27 +0000 (21:29 +0000)
committerSami Kerola <kerolasa@iki.fi>
Sat, 4 Feb 2017 23:39:38 +0000 (23:39 +0000)
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
sys-utils/hwclock-cmos.c
sys-utils/hwclock-rtc.c

index ee293daecefe4cdf09457abae3fc71c5f07538d7..013fe094df666978e4df4026f41f7463067746dd 100644 (file)
@@ -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"));
                }
index 92f04435b218d105d2527acf43f84e1fae919197..411ec433a50e1568f2cad13f5893ebf11ded782b 100644 (file)
@@ -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);
        }