From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KJuLZ-0000WU-UE for qemu-devel@nongnu.org; Fri, 18 Jul 2008 14:06:25 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KJuLZ-0000Vi-5C for qemu-devel@nongnu.org; Fri, 18 Jul 2008 14:06:25 -0400 Received: from [199.232.76.173] (port=59416 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KJuLZ-0000Vb-1b for qemu-devel@nongnu.org; Fri, 18 Jul 2008 14:06:25 -0400 Received: from savannah.gnu.org ([199.232.41.3]:55156 helo=sv.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KJuLY-0005fx-JV for qemu-devel@nongnu.org; Fri, 18 Jul 2008 14:06:24 -0400 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.63) (envelope-from ) id 1KJuLY-0005Lp-11 for qemu-devel@nongnu.org; Fri, 18 Jul 2008 18:06:24 +0000 Received: from ths by cvs.savannah.gnu.org with local (Exim 4.63) (envelope-from ) id 1KJuLX-0005Lc-Sb for qemu-devel@nongnu.org; Fri, 18 Jul 2008 18:06:23 +0000 MIME-Version: 1.0 Errors-To: ths Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Thiemo Seufer Message-Id: Date: Fri, 18 Jul 2008 18:06:23 +0000 Subject: [Qemu-devel] [4893] Allow qemu-nbd --version to show the application name dynamically, by Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Revision: 4893 http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4893 Author: ths Date: 2008-07-18 18:06:23 +0000 (Fri, 18 Jul 2008) Log Message: ----------- Allow qemu-nbd --version to show the application name dynamically, by Carlo Marcelo Arenas Belon. Modified Paths: -------------- trunk/qemu-nbd.c Modified: trunk/qemu-nbd.c =================================================================== --- trunk/qemu-nbd.c 2008-07-18 18:02:34 UTC (rev 4892) +++ trunk/qemu-nbd.c 2008-07-18 18:06:23 UTC (rev 4893) @@ -68,13 +68,13 @@ 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 .\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