Added strncmp
authorJohn Hodge <[email protected]>
Tue, 17 Aug 2010 01:38:13 +0000 (09:38 +0800)
committerJohn Hodge <[email protected]>
Tue, 17 Aug 2010 01:38:13 +0000 (09:38 +0800)
Kernel/lib.c

index 88ab367..b512022 100644 (file)
@@ -665,7 +665,7 @@ Sint64 timestamp(int sec, int mins, int hrs, int day, int month, int year)
                ) && month > 1) // Leap year and after feb
                stamp += 3600*24;
        
-       stamp += ((365*4+1) * ((year-2000)&~3)) * 3600*24;      // Foour Year Segments
+       stamp += ((365*4+1) * ((year-2000)&~3)) * 3600*24;      // Four Year Segments
        stamp += ((year-2000)&3) * 365*3600*24; // Inside four year segment
        stamp += UNIX_TO_2K;
        

UCC git Repository :: git.ucc.asn.au