o Fix prototype for SYSCALL_MODULE(9): the third argument

is a pointer to struct sysent.  Correct its description.

PR:		docs/84790
Submitted by:	Dirk Gouders
MFC after:	2 weeks
This commit is contained in:
Maxim Konovalov 2006-04-15 12:04:18 +00:00
parent 727e7d8621
commit be9365a9f2
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=157773

View File

@ -40,7 +40,7 @@
.In sys/proc.h
.In sys/module.h
.In sys/sysent.h
.Fn SYSCALL_MODULE name "int *offset" "struct sysent new_sysent" "modeventhand_t evh" "void *arg"
.Fn SYSCALL_MODULE name "int *offset" "struct sysent *new_sysent" "modeventhand_t evh" "void *arg"
.Sh DESCRIPTION
The
.Fn SYSCALL_MODULE
@ -58,8 +58,8 @@ which saves the offset in
.Vt "struct sysent"
where the syscall is allocated.
.It Fa new_sysent
The function implementing the syscall and the number of arguments this
function needs (see
is a pointer to a structure that specifies the function implementing
the syscall and the number of arguments this function needs (see
.In sys/sysent.h ) .
.It Fa evh
A pointer to the kernel module event handler function with the argument