Signed-off-by: Jiri Denemark <[email protected]>
---
 tools/vsh.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/tools/vsh.c b/tools/vsh.c
index 1b650bdd9b..64507fe560 100644
--- a/tools/vsh.c
+++ b/tools/vsh.c
@@ -2128,9 +2128,7 @@ vshError(vshControl *ctl, const char *format, ...)
      * printing to stderr will not interleave correctly with stdout
      * unless we flush between every transition between streams.  */
     fflush(stdout);
-    fputs(_("error: "), stderr);
-
-    fprintf(stderr, "%s\n", NULLSTR(str));
+    fprintf(stderr, _("error: %1$s\n"), NULLSTR(str));
     fflush(stderr);
 }
 
-- 
2.48.1

Reply via email to