mirror of
https://git.openafs.org/openafs.git
synced 2025-01-31 05:27:44 +00:00
volser: correctly attribute 'vos partinfo' errors
Since the original IBM code import, the 'vos partinfo' error message blames the wrong command, 'vos listpart': $ vos partinfo afs01.sinenomine.net <unknown>: Could not get afs tokens, running unauthenticated. Could not fetch the list of partitions from the server Possible communication failure Error in vos listpart command. Possible communication failure Correct the error message to specify 'vos partinfo' instead. Change-Id: I966dee8c679db89c7ed5ce21d31ebc7424803cf2 Reviewed-on: https://gerrit.openafs.org/14489 Tested-by: BuildBot <buildbot@rampaginggeek.com> Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
This commit is contained in:
parent
750628da77
commit
32dfff2c98
@ -5127,7 +5127,7 @@ PartitionInfo(struct cmd_syndesc *as, void *arock)
|
|||||||
} else {
|
} else {
|
||||||
code = UV_ListPartitions(aserver, &dummyPartList, &cnt);
|
code = UV_ListPartitions(aserver, &dummyPartList, &cnt);
|
||||||
if (code) {
|
if (code) {
|
||||||
PrintDiagnostics("listpart", code);
|
PrintDiagnostics("partinfo", code);
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user