[libvirt] [PATCH v2 2/2] bsd-user: Output package version

Andreas Färber afaerber at suse.de
Fri Apr 27 10:08:15 UTC 2012


Commit 4a19f1eced611e7c3a0fba07d13515cbc73da09f (r7036) added a
configure option --with-pkgversion for distributions and forks to label
their derived versions.

bsd-user was not updated at the time, so fix this while at it.

Signed-off-by: Andreas Färber <afaerber at suse.de>
---
 bsd-user/main.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/bsd-user/main.c b/bsd-user/main.c
index b2b5b69..3434d48 100644
--- a/bsd-user/main.c
+++ b/bsd-user/main.c
@@ -672,7 +672,7 @@ void cpu_loop(CPUSPARCState *env)
 
 static void usage(void)
 {
-    printf("qemu-" TARGET_ARCH " version " QEMU_VERSION
+    printf("qemu-" TARGET_ARCH " version " QEMU_VERSION QEMU_PKGVERSION
            ", Copyright (c) 2003-2012 Fabrice Bellard and contributors\n"
            "usage: qemu-" TARGET_ARCH " [options] program [arguments...]\n"
            "BSD CPU emulator (compiled for %s emulation)\n"
-- 
1.7.7




More information about the libvir-list mailing list