Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M9Jte-00016g-Pn for qemu-devel@nongnu.org; Wed, 27 May 2009 10:14:23 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M9JtZ-00014W-7J for qemu-devel@nongnu.org; Wed, 27 May 2009 10:14:21 -0400 Received: from [199.232.76.173] (port=46533 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M9JtY-00014Q-Uo for qemu-devel@nongnu.org; Wed, 27 May 2009 10:14:17 -0400 Received: from verein.lst.de ([213.95.11.210]:35093) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1M9JtX-0000Ok-U5 for qemu-devel@nongnu.org; Wed, 27 May 2009 10:14:16 -0400 Received: from verein.lst.de (localhost [127.0.0.1]) by verein.lst.de (8.12.3/8.12.3/Debian-7.1) with ESMTP id n4REEDIF029310 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Wed, 27 May 2009 16:14:13 +0200 Received: (from hch@localhost) by verein.lst.de (8.12.3/8.12.3/Debian-6.6) id n4REEDDi029308 for qemu-devel@nongnu.org; Wed, 27 May 2009 16:14:13 +0200 Date: Wed, 27 May 2009 16:14:13 +0200 From: Christoph Hellwig Message-ID: <20090527141413.GA29118@lst.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: [Qemu-devel] [PATCH] vvfat: one more missing BlockDriver C99 initializer conversion List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Signed-off-by: Christoph Hellwig Index: qemu/block/vvfat.c =================================================================== --- qemu.orig/block/vvfat.c 2009-05-26 10:42:14.306967330 +0200 +++ qemu/block/vvfat.c 2009-05-26 10:43:14.935816547 +0200 @@ -2762,10 +2762,9 @@ static void write_target_close(BlockDriv } static BlockDriver vvfat_write_target = { - "vvfat_write_target", 0, NULL, NULL, NULL, - write_target_commit, - write_target_close, - NULL, NULL, NULL + .format_name = "vvfat_write_target", + .bdrv_write = write_target_commit, + .bdrv_close = write_target_close, }; static int enable_write_target(BDRVVVFATState *s)