diff options
-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); } |