mirror of
https://git.openafs.org/openafs.git
synced 2025-01-21 00:10:15 +00:00
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 <shadow@dementix.org> Reviewed-by: Andrew Deason <adeason@sinenomine.net> Reviewed-by: Michael Meffie <mmeffie@sinenomine.net> Tested-by: BuildBot <buildbot@rampaginggeek.com>
This commit is contained in:
parent
0f30c95a03
commit
e1c6ad7d58
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user