aboutsummaryrefslogtreecommitdiff
path: root/emulators/rtc/files/rtc.c
diff options
context:
space:
mode:
authorAlexander Leidinger <netchild@FreeBSD.org>2006-01-29 16:09:18 +0000
committerAlexander Leidinger <netchild@FreeBSD.org>2006-01-29 16:09:18 +0000
commitfcb536d684600c125e4e40dfb7434f87115a3ca0 (patch)
tree3a6c3cf08bc7087d014c7595219d61303447cf1b /emulators/rtc/files/rtc.c
parentb43a56b9e36ae1bf483528e5206b3dc81e5ded90 (diff)
downloadports-fcb536d684600c125e4e40dfb7434f87115a3ca0.tar.gz
ports-fcb536d684600c125e4e40dfb7434f87115a3ca0.zip
Notes
Diffstat (limited to 'emulators/rtc/files/rtc.c')
-rw-r--r--emulators/rtc/files/rtc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/emulators/rtc/files/rtc.c b/emulators/rtc/files/rtc.c
index 16f573caaf0f..c038575e4d18 100644
--- a/emulators/rtc/files/rtc.c
+++ b/emulators/rtc/files/rtc.c
@@ -269,8 +269,8 @@ rtc_ioctl(dev_t dev, u_long cmd, caddr_t arg, int mode, struct proc *p)
}
sc->var.freq = freq;
if ((sc->var.freq > hz) && (hz < 1000)) {
- sc->var.freq = hz;
printf("rtc: %d > kern.hz: Timing will be inaccurate, please increase kern.hz.\n", sc->var.freq);
+ sc->var.freq = hz;
}
sleep = hz / sc->var.freq;
DLog(Linfo, "Set RTC freq %d", sc->var.freq);