diff options
Diffstat (limited to 'fs/cifs/netmisc.c')
-rw-r--r-- | fs/cifs/netmisc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/netmisc.c b/fs/cifs/netmisc.c index 3adbd128e08e..992e80edc720 100644 --- a/fs/cifs/netmisc.c +++ b/fs/cifs/netmisc.c | |||
@@ -942,7 +942,7 @@ struct timespec cnvrtDosUnixTm(__u16 date, __u16 time) | |||
942 | cERROR(1,("illegal date, month %d day: %d", month, days)); | 942 | cERROR(1,("illegal date, month %d day: %d", month, days)); |
943 | month -= 1; | 943 | month -= 1; |
944 | days += total_days_of_prev_months[month]; | 944 | days += total_days_of_prev_months[month]; |
945 | days += 3653; /* account for difference in days between 1980 and 1970 */ | 945 | days += 3652; /* account for difference in days between 1980 and 1970 */ |
946 | year = sd->Year; | 946 | year = sd->Year; |
947 | days += year * 365; | 947 | days += year * 365; |
948 | days += (year/4); /* leap year */ | 948 | days += (year/4); /* leap year */ |