From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=39463 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PuuTs-0006V1-Lp for qemu-devel@nongnu.org; Wed, 02 Mar 2011 17:25:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PuuTq-0003Qo-T5 for qemu-devel@nongnu.org; Wed, 02 Mar 2011 17:25:16 -0500 Received: from smtp-out.google.com ([74.125.121.67]:44255) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PuuTq-0003Pf-Kg for qemu-devel@nongnu.org; Wed, 02 Mar 2011 17:25:14 -0500 From: Vincent Palatin Date: Wed, 2 Mar 2011 17:25:01 -0500 Message-Id: <1299104702-18928-2-git-send-email-vpalatin@chromium.org> In-Reply-To: <1299104702-18928-1-git-send-email-vpalatin@chromium.org> References: <1299104702-18928-1-git-send-email-vpalatin@chromium.org> Subject: [Qemu-devel] [PATCH 1/2] net: fix trace when debug is activated in slirp List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel Cc: Vincent Palatin make the code compile correctly when DEBUG is activated. Signed-off-by: Vincent Palatin --- slirp/bootp.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/slirp/bootp.c b/slirp/bootp.c index 0905c6d..1eb2ed1 100644 --- a/slirp/bootp.c +++ b/slirp/bootp.c @@ -284,7 +284,7 @@ static void bootp_reply(Slirp *slirp, const struct bootp_t *bp) } else { static const char nak_msg[] = "requested address not available"; - DPRINTF("nak'ed addr=%08x\n", ntohl(preq_addr->s_addr)); + DPRINTF("nak'ed addr=%08x\n", ntohl(preq_addr.s_addr)); *q++ = RFC2132_MSG_TYPE; *q++ = 1; -- 1.7.3.1