diff options
author | Anthony Liguori <aliguori@us.ibm.com> | 2011-02-14 14:24:24 -0600 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2011-02-14 14:24:24 -0600 |
commit | 8fe3046f17ff98469c5874a0e7be823adc768485 (patch) | |
tree | 756f7803e5ccffbf3488ecd5436e6d12b9c5deba /slirp/mbuf.c | |
parent | 53fae6d27f342a17bdc218dc51ccccebd99f3545 (diff) | |
download | qemu-8fe3046f17ff98469c5874a0e7be823adc768485.tar.gz qemu-8fe3046f17ff98469c5874a0e7be823adc768485.tar.bz2 qemu-8fe3046f17ff98469c5874a0e7be823adc768485.zip |
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/mbuf.c')
-rw-r--r-- | slirp/mbuf.c | 2 |
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; |