From: Anthony Liguori Date: Mon, 14 Feb 2011 20:24:24 +0000 (-0600) Subject: Fix build from previous commit X-Git-Tag: v0.15.0-rc0~916 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8fe3046f17ff98469c5874a0e7be823adc768485;p=thirdparty%2Fqemu.git Fix build from previous commit I unfortunately got on an unnamed branch and pushed the wrong bits Signed-off-by: Anthony Liguori --- diff --git a/slirp/mbuf.c b/slirp/mbuf.c index eadc8022415..ce2eb843f56 100644 --- a/slirp/mbuf.c +++ b/slirp/mbuf.c @@ -65,7 +65,7 @@ m_get(Slirp *slirp) m->m_flags = (flags | M_USEDLIST); /* Initialise it */ - m->m_size = SLIRP_MSIZE - offsetof(struct m_hdr, m_dat); + m->m_size = SLIRP_MSIZE - offsetof(struct mbuf, m_dat); m->m_data = m->m_dat; m->m_len = 0; m->m_nextpkt = NULL;