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/1f77cc9a93ed
branches:  trunk
changeset: 333895:1f77cc9a93ed
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 605f58f1e6bd -r 1f77cc9a93ed 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