aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaxim Konovalov <maxim@FreeBSD.org>2006-05-01 20:32:56 +0000
committerMaxim Konovalov <maxim@FreeBSD.org>2006-05-01 20:32:56 +0000
commit2953148ccc23f3b48b13c3615ea04f9844de15a6 (patch)
tree8ce753958d91e2a4381183195521f495b8fb54f4
parentc0c8759eb769080062b012944fd5875f268d66ea (diff)
downloadsrc-2953148ccc23f3b48b13c3615ea04f9844de15a6.tar.gz
src-2953148ccc23f3b48b13c3615ea04f9844de15a6.zip
MFC rev. 1.7: fix prototype for SYSCALL_MODULE(9).
Approved by: re (kensmith)
Notes
Notes: svn path=/stable/5/; revision=158232
-rw-r--r--share/man/man9/SYSCALL_MODULE.96
1 files changed, 3 insertions, 3 deletions
diff --git a/share/man/man9/SYSCALL_MODULE.9 b/share/man/man9/SYSCALL_MODULE.9
index 8737268151ab..973adebf2cfb 100644
--- a/share/man/man9/SYSCALL_MODULE.9
+++ b/share/man/man9/SYSCALL_MODULE.9
@@ -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