From: James S. <jsi...@us...> - 2002-02-05 17:26:17
|
Update of /cvsroot/linux-mips/linux/arch/mips/sgi-ip22 In directory usw-pr-cvs1:/tmp/cvs-serv9169 Modified Files: ip22-time.c Log Message: Fix Indy_rtc_set_time's conversion from system to rtc time. Index: ip22-time.c =================================================================== RCS file: /cvsroot/linux-mips/linux/arch/mips/sgi-ip22/ip22-time.c,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- ip22-time.c 2002/01/02 19:12:16 1.4 +++ ip22-time.c 2002/02/05 17:26:14 1.5 @@ -67,8 +67,8 @@ to_tm(tim, &tm); - tm.tm_mon += 1; - tm.tm_year -= 40; + tm.tm_mon += 1; /* tm_mon starts at zero */ + tm.tm_year -= 1940; if (tm.tm_year >= 100) tm.tm_year -= 100; |