From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50764) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YVaYE-0006U2-IK for qemu-devel@nongnu.org; Wed, 11 Mar 2015 02:55:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YVaY9-00071w-9F for qemu-devel@nongnu.org; Wed, 11 Mar 2015 02:55:30 -0400 Received: from mx1.redhat.com ([209.132.183.28]:52271) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YVaY9-00071r-0J for qemu-devel@nongnu.org; Wed, 11 Mar 2015 02:55:25 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id t2B6tOHL011774 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Wed, 11 Mar 2015 02:55:24 -0400 Received: from redhat.com (ovpn-116-27.ams2.redhat.com [10.36.116.27]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with SMTP id t2B6tKUg024915 for ; Wed, 11 Mar 2015 02:55:23 -0400 Date: Wed, 11 Mar 2015 07:55:20 +0100 From: "Michael S. Tsirkin" Message-ID: <20150311075520-mutt-send-email-mst@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: [Qemu-devel] [PATCH] acpi: specify format for build_append_namestring List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Will catch users if we misused it. Signed-off-by: Michael S. Tsirkin --- 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