NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

misc/59102: updated xxx_modcmd() signature in module(9) manpage



>Number:         59102
>Category:       misc
>Synopsis:       updated xxx_modcmd() signature in module(9) manpage
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    misc-bug-people
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Feb 25 08:40:01 +0000 2025
>Originator:     Igor Kolesnik
>Release:        NetBSD 10.99.12
>Organization:
	
>Environment:
	
	
System: NetBSD lenovo.home 10.99.12 NetBSD 10.99.12 (LENOVO) #9: Tue Feb 25 08:20:10 CET 2025 igor%lenovo.home@localhost:/usr/obj/sys/arch/amd64/compile/LENOVO amd64
Architecture: x86_64
Machine: amd64
>Description:
	The module(9) manpage states that the return value of the xxx_modcmd() function
	is of type 'modcmd_t'.

	The actual return type of the function is 'int'.
>How-To-Repeat:
	
>Fix:
	There is a patch.

Index: share/man/man9/module.9
===================================================================
RCS file: /cvsroot/src/share/man/man9/module.9,v
retrieving revision 1.54
diff -u -r1.54 module.9
--- share/man/man9/module.9	12 Aug 2022 15:43:38 -0000	1.54
+++ share/man/man9/module.9	25 Feb 2025 08:13:46 -0000
@@ -182,7 +182,7 @@
 function.
 This function is defined as:
 .Bl -tag -width modcmd -offset indent
-.It Ft modcmd_t
+.It Ft int
 .Fn xxx_modcmd "modcmd_t cmd" "void *data"
 .El
 .Pp

>Unformatted:
 	
 	



Home | Main Index | Thread Index | Old Index