On Wed, May 16, 2012 at 06:26:58PM -0500, David Matthew Mattli wrote: > >Synopsis: getnewvnode(9) man page is wrong, it describes an out-of-date > >version of prototype > >Category: documentation > >Environment: > System : OpenBSD 5.1 > Details : OpenBSD 5.1-current (GENERIC) #185: Thu Apr 26 03:49:04 > MDT 2012 > > dera...@macppc.openbsd.org:/usr/src/sys/arch/macppc/compile/GENERIC > > Architecture: OpenBSD.macppc > Machine : macppc > >Description: > The getnewvnode(9) man page claims the relevant prototype is: > > int > getnewvnode(enum vtagtype tag, struct mount *mp, int (**vops)((void *)), > struct vnode **vpp); > > but looking at the <sys/vnode.h> header the prototype has changed to: > > int > getnewvnode(enum vtagtype, struct mount *, struct vops *, > struct vnode **); > > The third parameter is no longer a pointer to a function pointer. This > parameter > changed at revision 1.105 but the man page must not have been updated. > > >How-To-Repeat: > man getnewvnode > >Fix: > Update or delete the getnewvnode(9) man page. >
deleting the man page would be a fix?!? i've gone with updating it... jmc