From e3c8fc83aa75f90c82d0c5da5b2c9c4be28ad9bd Mon Sep 17 00:00:00 2001 From: Anthony Liguori Date: Mon, 14 Feb 2011 14:24:24 -0600 Subject: Fix build from previous commit I unfortunately got on an unnamed branch and pushed the wrong bits Signed-off-by: Anthony Liguori --- slirp/mbuf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.1