Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/x68k/stand/libsa put back missing paren.
details: https://anonhg.NetBSD.org/src/rev/5464932555c3
branches: trunk
changeset: 804037:5464932555c3
user: christos <christos%NetBSD.org@localhost>
date: Fri Nov 21 01:18:39 2014 +0000
description:
put back missing paren.
diffstat:
sys/arch/x68k/stand/libsa/clock.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diffs (21 lines):
diff -r 0e86e393a727 -r 5464932555c3 sys/arch/x68k/stand/libsa/clock.c
--- a/sys/arch/x68k/stand/libsa/clock.c Fri Nov 21 01:16:04 2014 +0000
+++ b/sys/arch/x68k/stand/libsa/clock.c Fri Nov 21 01:18:39 2014 +0000
@@ -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 @@
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
Home |
Main Index |
Thread Index |
Old Index