summaryrefslogtreecommitdiffstats
path: root/sys-utils/hwclock-cmos.c
diff options
context:
space:
mode:
authorSami Kerola2016-12-31 22:29:27 +0100
committerSami Kerola2017-02-05 00:39:38 +0100
commitc9a86ff664a20a0c136f19e828cd7c9c9febaf34 (patch)
tree47291af304673dfb655b17d75f00d136c3b53572 /sys-utils/hwclock-cmos.c
parenthwclock: make --date=argument less prone to injection (diff)
downloadkernel-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>
Diffstat (limited to 'sys-utils/hwclock-cmos.c')
-rw-r--r--sys-utils/hwclock-cmos.c2
1 files changed, 1 insertions, 1 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"));
}