Skip to content
Snippets Groups Projects
Commit 02da386a authored by Kevin Wolf's avatar Kevin Wolf Committed by Stefan Hajnoczi
Browse files

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: default avatarKevin Wolf <kwolf@redhat.com>
Signed-off-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
parent 3d21994f
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment