Subject: misc/14758: Error in the mbuf manpage
To: None <gnats-bugs@gnats.netbsd.org>
From: None <yannick.montulet@epitech.net>
List: netbsd-bugs
Date: 11/28/2001 02:30:29
>Number: 14758
>Category: misc
>Synopsis: Error in the mbuf manpage
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: misc-bug-people
>State: open
>Class: doc-bug
>Submitter-Id: net
>Arrival-Date: Wed Nov 28 02:31:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: Yannick MONTULET
>Release: 1.5-Y
>Organization:
Epitech
>Environment:
NetBSD yannick 1.5Y NetBSD 1.5Y (THABELCH) #0: Fri Nov 23 20:51:59 GMT 2001 root@yannick.abo.wanadoo.fr:/usr/src/sys/arch/i386/compile/THABELCH i386
>Description:
The size param is missing in the MEXTADD declaration.
-- In the manpage (man mbuf)
void
MEXTADD(struct mbuf *m, caddr_t buf, int type,
void (*free) __P((caddr_t, u_int, void *)), void *arg);
-- In the <sys/mbuf.h> header
#define MEXTADD(m, buf, size, type, free, arg)
<...>
>How-To-Repeat:
>Fix:
In the manpage, replace the MEXTADD decl with the one that follows :
void
MEXTADD(struct mbuf *m, caddr_t buf, int size, int type,
void (*free) __P((caddr_t, u_int, void *)), void *arg);
>Release-Note:
>Audit-Trail:
>Unformatted: