Module Name: src
Committed By: christos
Date: Fri Nov 21 01:18:39 UTC 2014
Modified Files:
src/sys/arch/x68k/stand/libsa: clock.c
Log Message:
put back missing paren.
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/x68k/stand/libsa/clock.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/x68k/stand/libsa/clock.c
diff -u src/sys/arch/x68k/stand/libsa/clock.c:1.4 src/sys/arch/x68k/stand/libsa/clock.c:1.5
--- src/sys/arch/x68k/stand/libsa/clock.c:1.4 Thu Nov 20 10:48:05 2014
+++ src/sys/arch/x68k/stand/libsa/clock.c Thu Nov 20 20:18:39 2014
@@ -1,4 +1,4 @@
-/* $NetBSD: clock.c,v 1.4 2014/11/20 15:48:05 christos Exp $ */
+/* $NetBSD: clock.c,v 1.5 2014/11/21 01:18:39 christos Exp $ */
/*
* Copyright (c) 2003 Tetsuya Isaki. All rights reserved.
@@ -73,9 +73,8 @@ getsecs(void)
days++;
/* now we have days since Jan 1, 1970. the rest is easy... */
- return days * SECS_PER_DAY) + (hour * SECS_PER_HOUR)
- + (min * SECS_PER_MINUTE) + sec
- + (rtc_offset * 60);
+ return (days * SECS_PER_DAY) + (hour * SECS_PER_HOUR)
+ + (min * SECS_PER_MINUTE) + sec + (rtc_offset * 60);
}
void