summaryrefslogtreecommitdiffstats
path: root/sys/kern/uipc_mbuf.c
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>2001-08-19 04:30:13 +0000
committerjulian <julian@FreeBSD.org>2001-08-19 04:30:13 +0000
commitb753f3c491f356a2769a44e37d94c9e2d975d4cf (patch)
treecb1e9d42eef0b5b99f61d164f5b2b62986d3c6e4 /sys/kern/uipc_mbuf.c
parentd01d678e4da36081c27805c5ccb5b83ec528cfe9 (diff)
downloadFreeBSD-src-b753f3c491f356a2769a44e37d94c9e2d975d4cf.zip
FreeBSD-src-b753f3c491f356a2769a44e37d94c9e2d975d4cf.tar.gz
Forgot to remove this un-needed test. (M_WAITOK won't fail)
I vaguely remember someone once proving it COULD return NULL.. was that changed? Reminded by: BDE MFC after: 2 weeks
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 d68299c..9944227 100644
--- a/sys/kern/uipc_mbuf.c
+++ b/sys/kern/uipc_mbuf.c
@@ -303,7 +303,7 @@ nospace:
* continuing for "len" bytes, into the indicated buffer.
*/
void
-m_copydata(struct mbuf *m, int off, int len, caddr_t cp)
+m_copydata(const struct mbuf *m, int off, int len, caddr_t cp)
{
unsigned count;
OpenPOWER on IntegriCloud