aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaine Stump <laine@laine.org>2010-08-03 10:35:01 -0400
committerLaine Stump <laine@laine.org>2010-08-03 10:37:34 -0400
commit7c5f80e2f0fddd1228bccace120236f24bc4954f (patch)
treef7695376e7a7271ea6084ccef15c74f7f22de386
parentesx: Set storage pool target path to host.mountInfo.path (diff)
downloadlibvirt-7c5f80e2f0fddd1228bccace120236f24bc4954f.tar.gz
libvirt-7c5f80e2f0fddd1228bccace120236f24bc4954f.tar.bz2
libvirt-7c5f80e2f0fddd1228bccace120236f24bc4954f.zip
Fix build error in virsh.c
Another gettext string with no format args sent to printf as a format string.
-rw-r--r--tools/virsh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/virsh.c b/tools/virsh.c
index 2ccf08b58..c0ee3ee59 100644
--- a/tools/virsh.c
+++ b/tools/virsh.c
@@ -11022,7 +11022,7 @@ vshParseArgv(vshControl *ctl, int argc, char **argv)
switch (arg) {
case 'd':
if (virStrToLong_i(optarg, NULL, 10, &ctl->debug) < 0) {
- vshError(ctl, _("option -d takes a numeric argument"));
+ vshError(ctl, "%s", _("option -d takes a numeric argument"));
exit(EXIT_FAILURE);
}
break;