From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LunOI-0002hC-55 for qemu-devel@nongnu.org; Fri, 17 Apr 2009 08:41:58 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LunOA-0002fr-QL for qemu-devel@nongnu.org; Fri, 17 Apr 2009 08:41:55 -0400 Received: from [199.232.76.173] (port=40954 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LunO8-0002fY-KU for qemu-devel@nongnu.org; Fri, 17 Apr 2009 08:41:49 -0400 Received: from mx2.redhat.com ([66.187.237.31]:53159) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LunO8-0000sf-4S for qemu-devel@nongnu.org; Fri, 17 Apr 2009 08:41:48 -0400 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n3HCflkH020200 for ; Fri, 17 Apr 2009 08:41:47 -0400 Message-ID: <49E878BB.1070308@redhat.com> Date: Fri, 17 Apr 2009 14:40:27 +0200 From: Kevin Wolf MIME-Version: 1.0 References: <1239969879-5611-1-git-send-email-kwolf@redhat.com> In-Reply-To: <1239969879-5611-1-git-send-email-kwolf@redhat.com> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] [PATCH 1/5] qcow2: Fix warnings in check_refcount() 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 Cc: kwolf@redhat.com This code is currently only compiled when DEBUG_ALLOC is defined, so you usually don't see compiler warnings on it. This patch series wants to enable the code, so fix the format string warnings first. While we're at it, let's print error messages to stderr. Signed-off-by: Kevin Wolf