Date: Sun, 22 Feb 2004 13:03:55 GMT From: Bruce Cran <bruce@cran.org.uk> To: FreeBSD-gnats-submit@FreeBSD.org Subject: docs/63215: Wrong prototypes in mi_switch(9) (ref docs/24311) Message-ID: <200402221303.i1MD3teA000792@box1.cran> Resent-Message-ID: <200402221310.i1MDAC5W050850@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 63215 >Category: docs >Synopsis: Wrong prototypes in mi_switch(9) (ref docs/24311) >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: Sun Feb 22 05:10:12 PST 2004 >Closed-Date: >Last-Modified: >Originator: Bruce Cran >Release: FreeBSD 5.2-CURRENT i386 >Organization: >Environment: System: FreeBSD box1.cran 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Fri Feb 20 21:31:18 GMT 2004 brucec@box1.cran:/usr/obj/usr/src/sys/MYKERNEL i386 FreeBSD 5.2-CURRENT i386 >Description: The function prototypes in mi_switch(9) for cpu_switch and mi_switch are wrong. The man page says they shouldn't take any arguments, but now mi_switch takes 'int flags' where 'flags' is one of SW_VOL or SW_INVOL. cpu_switch now takes 'struct thread *old, struct thread *new' arguments. >How-To-Repeat: man mi_switch >Fix: man page needs re-structured to explain mi_switch flags and cpu_switch parameters. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200402221303.i1MD3teA000792>