Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Jul 2014 19:53:14 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-doc@FreeBSD.org
Subject:   [Bug 192251] New: Several section 9 manpages incorrectly reference evh not evhand when describing struct moduledata_t
Message-ID:  <bug-192251-9@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192251

            Bug ID: 192251
           Summary: Several section 9 manpages incorrectly reference evh
                    not evhand when describing struct moduledata_t
           Product: Documentation
           Version: Latest
          Hardware: Any
                OS: Any
            Status: Needs Triage
          Severity: Affects Some People
          Priority: ---
         Component: Documentation
          Assignee: freebsd-doc@FreeBSD.org
          Reporter: yaneurabeya@gmail.com

A number of manpages reference the evh member of moduledata_t, but the field in
the structure has been evhand since its initial introduction in r25537 (see
http://svnweb.freebsd.org/base/head/sys/sys/module.h?view=markup&pathrev=25537
). The references should be fixed to state evhand so that the structure could
be initialized in a C99+ way with the right parameters.

$ grep -r evh /usr/src/share/man/ | sed -e 's,/usr/src/share/man/,,'
man9/DEV_MODULE.9:.Fn DEV_MODULE "name" "modeventhand_t evh" "void *arg"
man9/DEV_MODULE.9:.Fa evh
man9/DRIVER_MODULE.9:.Fn DRIVER_MODULE name busname "driver_t driver"
"devclass_t devclass" "modeventhand_t evh" "void *arg"
man9/DRIVER_MODULE.9:.Fn DRIVER_MODULE_ORDERED name busname "driver_t driver"
"devclass_t devclass" "modeventhand_t evh" "void *arg" "int order"
man9/DRIVER_MODULE.9:.Fn EARLY_DRIVER_MODULE name busname "driver_t driver"
"devclass_t devclass" "modeventhand_t evh" "void *arg" "enum sysinit_elem_order
order" "int pass"
man9/DRIVER_MODULE.9:.Fn EARLY_DRIVER_MODULE_ORDERED name busname "driver_t
driver" "devclass_t devclass" "modeventhand_t evh" "void *arg" "enum
sysinit_elem_order order" "int pass"
man9/DRIVER_MODULE.9:.Fa evh
man9/SYSCALL_MODULE.9:.Fn SYSCALL_MODULE name "int *offset" "struct sysent
*new_sysent" "modeventhand_t evh" "void *arg"
man9/SYSCALL_MODULE.9:.It Fa evh
man9/SYSCALL_MODULE.9:.Fa evh

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-192251-9>