diff options
author | bmilekic <bmilekic@FreeBSD.org> | 2002-08-15 14:09:16 +0000 |
---|---|---|
committer | bmilekic <bmilekic@FreeBSD.org> | 2002-08-15 14:09:16 +0000 |
commit | a7e3529be3fe10355c2eb7d8b937ffd20ac21045 (patch) | |
tree | 90ae365dc20ba87c83344bd8ef5d94e4858c58c6 /sys/kern/subr_mbuf.c | |
parent | 4d52fc47d6354ea8af430fd21603e7ab32debf0f (diff) | |
download | FreeBSD-src-a7e3529be3fe10355c2eb7d8b937ffd20ac21045.zip FreeBSD-src-a7e3529be3fe10355c2eb7d8b937ffd20ac21045.tar.gz |
Make m_flags an int instead of a short, this is consistent with the
type of the 'flags' argument m_getcl() was using anyway; m_extadd()
needed to be changed to accept an int instead of a short for 'flags.'
This makes things more consistent and also gives us more bits to
use for m_flags in the future (we have almost run out).
Requested by: sam (Sam Leffler)
Diffstat (limited to 'sys/kern/subr_mbuf.c')
-rw-r--r-- | sys/kern/subr_mbuf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/subr_mbuf.c b/sys/kern/subr_mbuf.c index c059c49..d066fe3 100644 --- a/sys/kern/subr_mbuf.c +++ b/sys/kern/subr_mbuf.c @@ -1511,7 +1511,7 @@ m_clget(struct mbuf *mb, int how) */ void m_extadd(struct mbuf *mb, caddr_t buf, u_int size, - void (*freef)(void *, void *), void *args, short flags, int type) + void (*freef)(void *, void *), void *args, int flags, int type) { _mext_init_ref(mb, ((type != EXT_CLUSTER) ? |