From be9365a9f296c439577ac6a314bf7343c8636703 Mon Sep 17 00:00:00 2001 From: Maxim Konovalov Date: Sat, 15 Apr 2006 12:04:18 +0000 Subject: [PATCH] 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 --- share/man/man9/SYSCALL_MODULE.9 | 6 +++--- 1 file 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