mirror of
https://git.openafs.org/openafs.git
synced 2025-01-19 15:30:14 +00:00
vos: print correct command name in diagnostics for changeloc
Fix the label in the diagnostics message, it prints "addsite" instead of "changeloc" when an error occurs during vos changeloc Change-Id: I8c541bc1709d2c02fb58d6d15b4a66d95647d1e7 Reviewed-on: http://gerrit.openafs.org/5414 Reviewed-by: Jeffrey Altman <jaltman@openafs.org> Tested-by: Jeffrey Altman <jaltman@openafs.org>
This commit is contained in:
parent
793fdd3360
commit
1de4561529
@ -3449,7 +3449,7 @@ ChangeLocation(struct cmd_syndesc *as, void *arock)
|
||||
}
|
||||
code = UV_ChangeLocation(aserver, apart, avolid);
|
||||
if (code) {
|
||||
PrintDiagnostics("addsite", code);
|
||||
PrintDiagnostics("changeloc", code);
|
||||
exit(1);
|
||||
}
|
||||
MapPartIdIntoName(apart, apartName);
|
||||
|
Loading…
Reference in New Issue
Block a user