From 1de4561529bdb92b6647a634d9f2c2714e1758e5 Mon Sep 17 00:00:00 2001 From: Marc Dionne Date: Tue, 13 Sep 2011 19:32:37 -0400 Subject: [PATCH] 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 Tested-by: Jeffrey Altman --- src/volser/vos.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/volser/vos.c b/src/volser/vos.c index 4559f59334..a8cbe418e8 100644 --- a/src/volser/vos.c +++ b/src/volser/vos.c @@ -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);