From patchwork Sat Jun 22 09:24:22 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Tokarev X-Patchwork-Id: 253394 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 72F842C041B for ; Sat, 22 Jun 2013 19:25:27 +1000 (EST) Received: from localhost ([::1]:49401 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UqK4T-00080U-7E for incoming@patchwork.ozlabs.org; Sat, 22 Jun 2013 05:25:25 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49311) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UqK3q-0007wT-9i for qemu-devel@nongnu.org; Sat, 22 Jun 2013 05:24:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UqK3l-0005Ip-Gs for qemu-devel@nongnu.org; Sat, 22 Jun 2013 05:24:46 -0400 Received: from isrv.corpit.ru ([86.62.121.231]:38157) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UqK3l-0005Id-9T for qemu-devel@nongnu.org; Sat, 22 Jun 2013 05:24:41 -0400 Received: from gandalf.tls.msk.ru (mjt.vpn.tls.msk.ru [192.168.177.99]) by isrv.corpit.ru (Postfix) with ESMTP id B207F41E4C; Sat, 22 Jun 2013 13:24:40 +0400 (MSK) Received: by gandalf.tls.msk.ru (Postfix, from userid 1000) id 77B83563; Sat, 22 Jun 2013 13:24:39 +0400 (MSK) From: Michael Tokarev To: Anthony Liguori Date: Sat, 22 Jun 2013 13:24:22 +0400 Message-Id: <1371893076-9643-4-git-send-email-mjt@msgid.tls.msk.ru> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1371893076-9643-1-git-send-email-mjt@msgid.tls.msk.ru> References: <1371893076-9643-1-git-send-email-mjt@msgid.tls.msk.ru> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 86.62.121.231 Cc: Stefan Weil , Michael Tokarev , qemu-devel@nongnu.org Subject: [Qemu-devel] [PULL 03/17] qemu-img: Add missing GCC_FMT_ATTR X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org From: Stefan Weil Signed-off-by: Stefan Weil Reviewed-by: Stefan Hajnoczi Signed-off-by: Michael Tokarev --- qemu-img.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qemu-img.c b/qemu-img.c index 809b4f1..f8c97d3 100644 --- a/qemu-img.c +++ b/qemu-img.c @@ -128,7 +128,7 @@ static void help(void) exit(1); } -static int qprintf(bool quiet, const char *fmt, ...) +static int GCC_FMT_ATTR(2, 3) qprintf(bool quiet, const char *fmt, ...) { int ret = 0; if (!quiet) {