Received: from eggs.gnu.org ([2001:4830:134:3::10]:58768) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XL8Pt-0007cV-DJ for qemu-devel@nongnu.org; Sat, 23 Aug 2014 06:19:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XL8Pl-0001G2-OF for qemu-devel@nongnu.org; Sat, 23 Aug 2014 06:19:25 -0400 Received: from mx1.redhat.com ([209.132.183.28]:9799) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XL8Pl-0001Fv-H4 for qemu-devel@nongnu.org; Sat, 23 Aug 2014 06:19:17 -0400 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s7NAJGT2023896 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Sat, 23 Aug 2014 06:19:17 -0400 From: Laszlo Ersek Date: Sat, 23 Aug 2014 12:19:06 +0200 Message-Id: <1408789147-18675-2-git-send-email-lersek@redhat.com> In-Reply-To: <1408789147-18675-1-git-send-email-lersek@redhat.com> References: <1408789147-18675-1-git-send-email-lersek@redhat.com> Subject: [Qemu-devel] [PATCH 1/2] pflash_cfi01: fixup stale DPRINTF() calls List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Michal Privoznik , Eric Blake , "Daniel P. Berrange" , Paolo Bonzini , Kevin Wolf , Stefan Hajnoczi , Juan Quintela , David Gilbert , Laszlo Ersek , qemu devel list Signed-off-by: Laszlo Ersek --- hw/block/pflash_cfi01.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/block/pflash_cfi01.c b/hw/block/pflash_cfi01.c index 2238f39..fddef39 100644 --- a/hw/block/pflash_cfi01.c +++ b/hw/block/pflash_cfi01.c @@ -209,11 +209,11 @@ static uint32_t pflash_devid_query(pflash_t *pfl, hwaddr offset) switch (boff & 0xFF) { case 0: resp = pfl->ident0; - DPRINTF("%s: Manufacturer Code %04x\n", __func__, ret); + DPRINTF("%s: Manufacturer Code %04x\n", __func__, resp); break; case 1: resp = pfl->ident1; - DPRINTF("%s: Device ID Code %04x\n", __func__, ret); + DPRINTF("%s: Device ID Code %04x\n", __func__, resp); break; default: DPRINTF("%s: Read Device Information offset=%x\n", __func__, -- 1.8.3.1