summaryrefslogtreecommitdiffstats
path: root/hwclock/kd.c
diff options
context:
space:
mode:
authorKarel Zak2006-12-07 00:25:46 +0100
committerKarel Zak2006-12-07 00:25:46 +0100
commitc07ebfa1e02d208ab12430e6791ea147bcfaf9c0 (patch)
treed44a755098286f5d553c7aea1a73d98c2995d6ec /hwclock/kd.c
parentImported from util-linux-2.10s tarball. (diff)
downloadkernel-qcow2-util-linux-c07ebfa1e02d208ab12430e6791ea147bcfaf9c0.tar.gz
kernel-qcow2-util-linux-c07ebfa1e02d208ab12430e6791ea147bcfaf9c0.tar.xz
kernel-qcow2-util-linux-c07ebfa1e02d208ab12430e6791ea147bcfaf9c0.zip
Imported from util-linux-2.11b tarball.
Diffstat (limited to 'hwclock/kd.c')
-rw-r--r--hwclock/kd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hwclock/kd.c b/hwclock/kd.c
index fd4fdd5a1..a2f313f6d 100644
--- a/hwclock/kd.c
+++ b/hwclock/kd.c
@@ -124,7 +124,7 @@ set_hardware_clock_kd(const struct tm *new_broken_time) {
t.wday = new_broken_time->tm_wday;
if (ioctl(con_fd, KDSHWCLK, &t ) == -1) {
- outsyserr(_("ioctl() to open /dev/tty1 failed"));
+ outsyserr(_("ioctl KDSHWCLK failed"));
exit(1);
}
return 0;