aboutsummaryrefslogtreecommitdiff
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
commit1e0dd6b7f7a54afbe35f6cd028d864e8402be217 (patch)
tree76a4c9d799d459e96ede967522960a945b3b202d
parent09d1b6639140b8788937aec9aa218b385800687a (diff)
downloadslirp-1e0dd6b7f7a54afbe35f6cd028d864e8402be217.zip
slirp-1e0dd6b7f7a54afbe35f6cd028d864e8402be217.tar.gz
slirp-1e0dd6b7f7a54afbe35f6cd028d864e8402be217.tar.bz2
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--mbuf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbuf.c b/mbuf.c
index d479cb7..799a6c8 100644
--- a/mbuf.c
+++ b/mbuf.c
@@ -64,7 +64,7 @@ struct mbuf *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;