]> xenbits.xensource.com Git - libvirt.git/commitdiff
build: avoid compiler warning, for real this time
authorEric Blake <eblake@redhat.com>
Mon, 2 Aug 2010 20:00:54 +0000 (14:00 -0600)
committerEric Blake <eblake@redhat.com>
Mon, 2 Aug 2010 20:16:03 +0000 (14:16 -0600)
* tools/virsh.c (vshParseArgv): Drop spurious argument to printf.

tools/virsh.c

index cedfb5abc086cd01e7dda8bc30d7959bb60efd82..2ccf08b58c29abf0b688bcaf961cec4883ca7a81 100644 (file)
@@ -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: %s"), arg);
+                vshError(ctl, _("option -d takes a numeric argument"));
                 exit(EXIT_FAILURE);
             }
             break;