From b12ab8e30644be52579bb8d2761df32915e754ac Mon Sep 17 00:00:00 2001 From: Roel Kluin Date: Tue, 22 Sep 2009 16:45:54 -0700 Subject: [PATCH] --- yaml --- r: 164775 b: refs/heads/master c: c5df59136a55fe08c21d39321679cbb008479edf h: refs/heads/master i: 164773: eff3f97bc99230cdf2784b4f6f346b4342842332 164771: 3aeb84ae71b5fb88507d852f056f51de25900aba 164767: ba74105bd720c4bf3ca5b7d9d649d27c293f550f v: v3 --- [refs] | 2 +- trunk/fs/ncpfs/dir.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 2dc33ca2e18c..9025665024dd 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: a7e3108cca54c105f496919040f00df56767ec00 +refs/heads/master: c5df59136a55fe08c21d39321679cbb008479edf diff --git a/trunk/fs/ncpfs/dir.c b/trunk/fs/ncpfs/dir.c index 9c590722d87e..b8b5b30d53f0 100644 --- a/trunk/fs/ncpfs/dir.c +++ b/trunk/fs/ncpfs/dir.c @@ -1241,7 +1241,7 @@ ncp_date_unix2dos(int unix_date, __le16 *time, __le16 *date) month = 2; } else { nl_day = (year & 3) || day <= 59 ? day : day - 1; - for (month = 0; month < 12; month++) + for (month = 1; month < 12; month++) if (day_n[month] > nl_day) break; }