summary refs log tree commit diff stats
path: root/bsd-user/main.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2016-08-04 12:14:36 +0100
committerPeter Maydell <peter.maydell@linaro.org>2016-08-11 16:24:53 +0100
commitd915b7bb4c2956ea3ef223605abe257dc7d7445a (patch)
tree3533b3a99ebd790c5aae44d279a2a6ad9e62359a /bsd-user/main.c
parentbea048dcb936816627301cb1744624eb79ac0488 (diff)
downloadfocaccia-qemu-d915b7bb4c2956ea3ef223605abe257dc7d7445a.tar.gz
focaccia-qemu-d915b7bb4c2956ea3ef223605abe257dc7d7445a.zip
Update ancient copyright string in -version output
Currently the -version command line argument prints a string ending
with "Copyright (c) 2003-2008 Fabrice Bellard".  This is now some
eight years out of date; abstract it out of the several places that
print the string and update it to:

Copyright (c) 2003-2016 Fabrice Bellard and the QEMU Project developers

to reflect the work by all the QEMU Project contributors over the
last decade.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Acked-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-id: 1470309276-5012-1-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'bsd-user/main.c')
-rw-r--r--bsd-user/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/bsd-user/main.c b/bsd-user/main.c
index bbba43f716..b4a0a00c3f 100644
--- a/bsd-user/main.c
+++ b/bsd-user/main.c
@@ -667,7 +667,8 @@ void cpu_loop(CPUSPARCState *env)
 
 static void usage(void)
 {
-    printf("qemu-" TARGET_NAME " version " QEMU_VERSION ", Copyright (c) 2003-2008 Fabrice Bellard\n"
+    printf("qemu-" TARGET_NAME " version " QEMU_VERSION QEMU_PKGVERSION
+           ", " QEMU_COPYRIGHT "\n"
            "usage: qemu-" TARGET_NAME " [options] program [arguments...]\n"
            "BSD CPU emulator (compiled for %s emulation)\n"
            "\n"