summaryrefslogtreecommitdiffstats
path: root/sys/pc98/cbus/pcrtc.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-02-05 09:35:02 +0000
committerphk <phk@FreeBSD.org>2003-02-05 09:35:02 +0000
commit8ad27b12113fd051d0283174ce0ad8bc1faeb9da (patch)
tree10c3933913470d20c00179bfbce47c18321a1bc0 /sys/pc98/cbus/pcrtc.c
parent4612101b4708efce580c655550f020a3656355aa (diff)
downloadFreeBSD-src-8ad27b12113fd051d0283174ce0ad8bc1faeb9da.zip
FreeBSD-src-8ad27b12113fd051d0283174ce0ad8bc1faeb9da.tar.gz
Typo in last commit
Diffstat (limited to 'sys/pc98/cbus/pcrtc.c')
-rw-r--r--sys/pc98/cbus/pcrtc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/pc98/cbus/pcrtc.c b/sys/pc98/cbus/pcrtc.c
index 6fda1ae..b8e51ed 100644
--- a/sys/pc98/cbus/pcrtc.c
+++ b/sys/pc98/cbus/pcrtc.c
@@ -1248,7 +1248,7 @@ resettodr()
rtc_outb(bin2bcd(tm%24)); tm /= 24; /* Write back Hours */
/* We have now the days since 01-01-1970 in tm */
- wd = (tm + 4) % 7 + 1); /* Write back Weekday */
+ wd = (tm + 4) % 7 + 1; /* Write back Weekday */
for (y = 1970, m = DAYSPERYEAR + LEAPYEAR(y);
tm >= m;
y++, m = DAYSPERYEAR + LEAPYEAR(y))
OpenPOWER on IntegriCloud