summary refs log tree commit diff stats
path: root/qemu-io.c
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2013-06-05 14:19:40 +0200
committerStefan Hajnoczi <stefanha@redhat.com>2013-06-06 11:27:05 +0200
commit02da386a2d7a020e80b0aed64769efa9dd42072a (patch)
tree077ae7fe6b2c04d70de5c466d973f8daa32bbb05 /qemu-io.c
parent3d21994f9c511cb63220fef5abea164b83fbb997 (diff)
downloadfocaccia-qemu-02da386a2d7a020e80b0aed64769efa9dd42072a.tar.gz
focaccia-qemu-02da386a2d7a020e80b0aed64769efa9dd42072a.zip
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 <kwolf@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'qemu-io.c')
-rw-r--r--qemu-io.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/qemu-io.c b/qemu-io.c
index 514edcb527..cb9def50e6 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);