summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormaxim <maxim@FreeBSD.org>2006-04-15 12:04:18 +0000
committermaxim <maxim@FreeBSD.org>2006-04-15 12:04:18 +0000
commite3ccf599d517db9884169bea0bcb19634b43317a (patch)
treebdaa053fc4142bd75e3934b7a9058f8e85bd77c3
parent57dce7ad47b2b0977b0972de8830914ae4190f36 (diff)
downloadFreeBSD-src-e3ccf599d517db9884169bea0bcb19634b43317a.zip
FreeBSD-src-e3ccf599d517db9884169bea0bcb19634b43317a.tar.gz
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
-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 8737268..973adeb 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
OpenPOWER on IntegriCloud