From: Andrew Deason Date: Mon, 17 Apr 2006 16:00:46 +0000 (+0000) Subject: STABLE14-vos-date-parse-errmsg-20060417 X-Git-Tag: openafs-stable-1_4_1b~21 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=e868d830b121ce8d6da2f1c471f415971d159ed4;p=packages%2Fo%2Fopenafs.git STABLE14-vos-date-parse-errmsg-20060417 FIXES 30218 use the correct index value when printing the invalid date string (cherry picked from commit f8103d800d8136d9f19fc880497741da859ff830) --- diff --git a/src/volser/vos.c b/src/volser/vos.c index f5ebbb5a7..7e2a6030d 100644 --- a/src/volser/vos.c +++ b/src/volser/vos.c @@ -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; } }