diff options
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/uipc_mbuf.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/kern/uipc_mbuf.c b/sys/kern/uipc_mbuf.c index 009b812..1ec68bc 100644 --- a/sys/kern/uipc_mbuf.c +++ b/sys/kern/uipc_mbuf.c @@ -711,21 +711,21 @@ m_print(const struct mbuf *m) return; } -int +unsigned m_fixhdr(struct mbuf *m0) { - int len; + unsigned len; len = m_length(m0, NULL); m0->m_pkthdr.len = len; return (len); } -int +unsigned m_length(struct mbuf *m0, struct mbuf **last) { struct mbuf *m; - int len; + unsigned len; len = 0; for (m = m0; m != NULL; m = m->m_next) { |