From: Anthony Liguori Date: Mon, 14 Feb 2011 20:24:24 +0000 (-0600) Subject: Fix build from previous commit X-Git-Tag: v0.14.0-rc2~1 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=e3c8fc83aa75f90c82d0c5da5b2c9c4be28ad9bd;p=users%2Fdwmw2%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 eadc802241..ce2eb843f5 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;