From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42074) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YVmfV-00041I-Hl for qemu-devel@nongnu.org; Wed, 11 Mar 2015 15:51:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YVmfP-0005QP-P2 for qemu-devel@nongnu.org; Wed, 11 Mar 2015 15:51:49 -0400 Received: from mx1.redhat.com ([209.132.183.28]:56294) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YVmfP-0005QG-IY for qemu-devel@nongnu.org; Wed, 11 Mar 2015 15:51:43 -0400 Date: Wed, 11 Mar 2015 20:51:38 +0100 From: "Michael S. Tsirkin" Message-ID: <20150311205138-mutt-send-email-mst@redhat.com> References: <1426096767-30494-1-git-send-email-mst@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1426096767-30494-1-git-send-email-mst@redhat.com> Subject: [Qemu-devel] [PULL 19/25] acpi: specify format for build_append_namestring List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Peter Maydell , Igor Mammedov Will catch users if we misused it. Signed-off-by: Michael S. Tsirkin Reviewed-by: Igor Mammedov --- hw/acpi/aml-build.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/acpi/aml-build.c b/hw/acpi/aml-build.c index ace180b..6242908 100644 --- a/hw/acpi/aml-build.c +++ b/hw/acpi/aml-build.c @@ -141,6 +141,7 @@ build_append_namestringv(GArray *array, const char *format, va_list ap) g_strfreev(segs); } +GCC_FMT_ATTR(2, 3) static void build_append_namestring(GArray *array, const char *format, ...) { va_list ap; -- MST