summaryrefslogtreecommitdiff
path: root/slirp
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2011-02-14 14:24:24 -0600
committerAnthony Liguori <aliguori@us.ibm.com>2011-02-14 14:24:24 -0600
commit8fe3046f17ff98469c5874a0e7be823adc768485 (patch)
tree756f7803e5ccffbf3488ecd5436e6d12b9c5deba /slirp
parent53fae6d27f342a17bdc218dc51ccccebd99f3545 (diff)
downloadqemu-8fe3046f17ff98469c5874a0e7be823adc768485.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>
Diffstat (limited to 'slirp')
-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;