summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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