Skip to content

Commit

Permalink
qemu-io: Use the qemu version for -V
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Stefan Hajnoczi <[email protected]>
  • Loading branch information
kevmw authored and stefanhaRH committed Jun 6, 2013
1 parent 3d21994 commit 02da386
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions qemu-io.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 02da386

Please sign in to comment.