From: Mark Vitale Date: Tue, 8 May 2012 16:38:38 +0000 (-0400) Subject: vos: convertROtoRW misc error reporting problems X-Git-Tag: openafs-stable-1_8_0pre1~2411 X-Git-Url: https://git.openafs.org/?p=openafs.git;a=commitdiff_plain;h=e1c6ad7d580041caf35f698c9b2241fb45f02361 vos: convertROtoRW misc error reporting problems Fixes a few inconsistencies and bugs in some error messages. Change-Id: Ic4971c4cc3a3aa3623ee0f13161fd7793d3acb19 Reviewed-on: http://gerrit.openafs.org/7387 Reviewed-by: Derrick Brashear Reviewed-by: Andrew Deason Reviewed-by: Michael Meffie Tested-by: BuildBot --- diff --git a/src/volser/vos.c b/src/volser/vos.c index 27be7d6..0010a1b 100644 --- a/src/volser/vos.c +++ b/src/volser/vos.c @@ -5538,7 +5538,7 @@ ConvertRO(struct cmd_syndesc *as, void *arock) PrintError("", code); else fprintf(STDERR, "Unknown volume ID or name '%s'\n", - as->parms[0].items->data); + as->parms[2].items->data); return -1; } if (as->parms[3].items) @@ -5549,7 +5549,7 @@ ConvertRO(struct cmd_syndesc *as, void *arock) fprintf(STDERR, "Could not fetch the entry for volume %lu from VLDB\n", (unsigned long)volid); - PrintError("convertROtoRW", code); + PrintError("convertROtoRW ", vcode); return vcode; }