]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
STABLE14-vos-date-parse-errmsg-20060417
authorAndrew Deason <adeason@tjhsst.edu>
Mon, 17 Apr 2006 16:00:46 +0000 (16:00 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Mon, 17 Apr 2006 16:00:46 +0000 (16:00 +0000)
FIXES 30218

use the correct index value when printing the invalid date string

(cherry picked from commit f8103d800d8136d9f19fc880497741da859ff830)

src/volser/vos.c

index f5ebbb5a7514eaf14aa913597501d92777739195..7e2a6030de983bc9aac2cbc5296e4c102bee8a35 100644 (file)
@@ -5574,7 +5574,7 @@ Sizes(as)
        code = ktime_DateToInt32(as->parms[4].items->data, &fromdate);
        if (code) {
            fprintf(STDERR, "vos: failed to parse date '%s' (error=%d))\n",
-                   as->parms[1].items->data, code);
+                   as->parms[4].items->data, code);
            return code;
        }
     }