Fix build from previous commit
authorAnthony Liguori <aliguori@us.ibm.com>
Mon, 14 Feb 2011 20:24:24 +0000 (14:24 -0600)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 14 Feb 2011 20:24:24 +0000 (14:24 -0600)
I unfortunately got on an unnamed branch and pushed the wrong bits

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
slirp/mbuf.c

index eadc802..ce2eb84 100644 (file)
@@ -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;