]> Git Repo - qemu.git/blobdiff - qemu-nbd.c
Allow qemu-nbd --version to show the application name dynamically, by
[qemu.git] / qemu-nbd.c
index 45464a0c8f0ace023e5e58e16a41431e4ebdb207..916150e424e67a4290651db99412f4ff78992803 100644 (file)
@@ -68,13 +68,13 @@ static void usage(const char *name)
 static void version(const char *name)
 {
     printf(
-"qemu-nbd version 0.0.1\n"
+"%s version 0.0.1\n"
 "Written by Anthony Liguori.\n"
 "\n"
 "Copyright (C) 2006 Anthony Liguori <[email protected]>.\n"
 "This is free software; see the source for copying conditions.  There is NO\n"
 "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n"
-    );
+    , name);
 }
 
 struct partition_record
This page took 0.023604 seconds and 4 git commands to generate.