From: Kevin Wolf Date: Wed, 5 Jun 2013 12:19:40 +0000 (+0200) Subject: qemu-io: Use the qemu version for -V X-Git-Tag: qemu-xen-4.4.0-rc1~6^2~324^2~10 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=02da386a2d7a020e80b0aed64769efa9dd42072a;p=qemu-upstream-4.6-testing.git qemu-io: Use the qemu version for -V Always printing 0.0.1 and never updating the version number wasn't very useful. qemu-io is released with qemu, so using the same version number makes most sense. Signed-off-by: Kevin Wolf Signed-off-by: Stefan Hajnoczi --- diff --git a/qemu-io.c b/qemu-io.c index 514edcb52..cb9def50e 100644 --- a/qemu-io.c +++ b/qemu-io.c @@ -19,8 +19,6 @@ #include "block/block_int.h" #include "trace/control.h" -#define VERSION "0.0.1" - #define CMD_NOFILE_OK 0x01 char *progname; @@ -380,7 +378,7 @@ int main(int argc, char **argv) } break; case 'V': - printf("%s version %s\n", progname, VERSION); + printf("%s version %s\n", progname, QEMU_VERSION); exit(0); case 'h': usage(progname);