From: Andrew Deason Date: Mon, 17 Apr 2006 15:59:04 +0000 (+0000) Subject: vos-date-parse-errmsg-20060417 X-Git-Tag: openafs-devel-1_5_1~21 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=f8103d800d8136d9f19fc880497741da859ff830;p=packages%2Fo%2Fopenafs.git vos-date-parse-errmsg-20060417 FIXES 30218 use the correct index value when printing the invalid date string --- diff --git a/src/volser/vos.c b/src/volser/vos.c index 616de2620..78032164a 100644 --- a/src/volser/vos.c +++ b/src/volser/vos.c @@ -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; } }