summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2011-02-14 14:24:24 -0600
committerJustin M. Forbes <jforbes@redhat.com>2011-02-14 14:42:29 -0600
commite3c8fc83aa75f90c82d0c5da5b2c9c4be28ad9bd (patch)
tree1826a6959811cea3ae7f66c55074a483dee62d6d
parentbd2483faf127abe9fa5abc3c8e199f5e7d6534d3 (diff)
downloadqemu-e3c8fc83aa75f90c82d0c5da5b2c9c4be28ad9bd.tar.gz
Fix build from previous commit
I unfortunately got on an unnamed branch and pushed the wrong bits Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
-rw-r--r--slirp/mbuf.c2
1 files changed, 1 insertions, 1 deletions
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;