summaryrefslogtreecommitdiffstats
path: root/sys/kern/uipc_mbuf.c
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2013-03-12 13:42:47 +0000
committerglebius <glebius@FreeBSD.org>2013-03-12 13:42:47 +0000
commit37a43650ed6f70f82ffd2fd8eb0c7e37a6bce7b7 (patch)
tree91f9ed9ed6b18b31bb287141a8f82517e9e22a5a /sys/kern/uipc_mbuf.c
parent10b41426ff5ea82631f26e69e78bd268dc471911 (diff)
downloadFreeBSD-src-37a43650ed6f70f82ffd2fd8eb0c7e37a6bce7b7.zip
FreeBSD-src-37a43650ed6f70f82ffd2fd8eb0c7e37a6bce7b7.tar.gz
Functions m_getm2() and m_get2() have different order of arguments,
and that can drive someone crazy. While m_get2() is young and not documented yet, change its order of arguments to match m_getm2(). Sorry for churn, but better now than later.
Diffstat (limited to 'sys/kern/uipc_mbuf.c')
-rw-r--r--sys/kern/uipc_mbuf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/uipc_mbuf.c b/sys/kern/uipc_mbuf.c
index 13c9b52..e962670 100644
--- a/sys/kern/uipc_mbuf.c
+++ b/sys/kern/uipc_mbuf.c
@@ -88,7 +88,7 @@ SYSCTL_INT(_kern_ipc, OID_AUTO, m_defragrandomfailures, CTLFLAG_RW,
* m_get2() allocates minimum mbuf that would fit "size" argument.
*/
struct mbuf *
-m_get2(int how, short type, int flags, int size)
+m_get2(int size, int how, short type, int flags)
{
struct mb_args args;
struct mbuf *m, *n;
OpenPOWER on IntegriCloud