mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-20 06:50:22 +03:00
virsh: Make messages printed by vshError properly translatable
Signed-off-by: Jiri Denemark <jdenemar@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
575b3ea925
commit
ddef7271fd
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user