]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
qemu-img: Add QEMU_PKGVERSION to QEMU_IMG_VERSION
authorDon Slutz <dslutz@verizon.com>
Fri, 9 Jan 2015 15:17:35 +0000 (10:17 -0500)
committerKevin Wolf <kwolf@redhat.com>
Fri, 6 Feb 2015 16:24:21 +0000 (17:24 +0100)
This is the same way vl.c handles this.

Signed-off-by: Don Slutz <dslutz@verizon.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
qemu-img.c

index 4e9a7f5741c9cb863d978225829e68fefcae3947..e148af8a3e64cc49e24db713a93166fd4a9a30a8 100644 (file)
@@ -35,7 +35,7 @@
 #include "block/qapi.h"
 #include <getopt.h>
 
-#define QEMU_IMG_VERSION "qemu-img version " QEMU_VERSION \
+#define QEMU_IMG_VERSION "qemu-img version " QEMU_VERSION QEMU_PKGVERSION \
                           ", Copyright (c) 2004-2008 Fabrice Bellard\n"
 
 typedef struct img_cmd_t {