Fix "ar" flags in some Makefiles to allow for silent "make -s"
[oweals/u-boot.git] / rtc / ds1302.c
index ec5616a677634d451a15447ce9437a351052994a..98dce899a97f7998b11f58e8c7897ba9f7e0b95a 100644 (file)
@@ -226,7 +226,7 @@ rtc_init(void)
 
        if (bbclk.year>9) {
                printf("ds1302: Year was corrupted, fixing\n");
-               bbclk.year10=100;       /* 2000 - why not? ;) */
+               bbclk.year10=100/10;    /* 2000 - why not? ;) */
                bbclk.year=0;
                mod=1;
        }