docs/84790: Error in SYSCALL_MODULE(9) manual page
Dirk Gouders
gouders at et.bocholt.fh-ge.de
Thu Aug 11 10:00:40 UTC 2005
>Number: 84790
>Category: docs
>Synopsis: Error in SYSCALL_MODULE(9) manual page
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-doc
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: doc-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Aug 11 10:00:38 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Dirk Gouders
>Release: FreeBSD 4.11-STABLE i386
>Organization:
FH Gelsenkirchen, Abt. Bocholt
>Environment:
System: FreeBSD musashi.et.bocholt.fh-gelsenkirchen.de 4.11-STABLE FreeBSD 4.11-STABLE #6: Fri Aug 5 12:54:25 CEST 2005 root at musashi.et.bocholt.fh-gelsenkirchen.de:/usr/src/sys/compile/MUSASHI i386
>Description:
The third parameter of the SYSCALL_MODULE macro is a pointer to a
sysent structure and not the sysent structure itself.
>How-To-Repeat:
man SYSCALL_MODULE
>Fix:
--- SYSCALL_MODULE.9.orig Mon Dec 17 12:30:18 2001
+++ SYSCALL_MODULE.9 Thu Aug 11 11:46:34 2005
@@ -38,7 +38,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
@@ -56,8 +56,8 @@
syscall is allocated.
.Pp
.Fa new_sysent
-specifies 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
.Aq Pa sys/sysent.h ) .
.Pp
.Fa evh
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-doc
mailing list