summaryrefslogtreecommitdiffstats
path: root/hwclock/kd.c
diff options
context:
space:
mode:
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;