]> git.proxmox.com Git - qemu.git/commitdiff
Fix build from previous commit
authorAnthony Liguori <aliguori@us.ibm.com>
Mon, 14 Feb 2011 20:24:24 +0000 (14:24 -0600)
committerJustin M. Forbes <jforbes@redhat.com>
Mon, 14 Feb 2011 20:42:29 +0000 (14:42 -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 eadc8022415432331b5cac906f0494f1c2e7afcf..ce2eb843f565dd2c7c53cc024111d892e73ad67b 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;