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

use the correct index value when printing the invalid date string

src/volser/vos.c

index 616de2620eb38f2a39ba02a083acd812f13419f3..78032164a5d7a7d27fd6499f7f78f5488f588e27 100644 (file)
@@ -5578,7 +5578,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;
        }
     }