Subject: misc/37612: cpu_switchto(9) doesn't document 'returning' parameter
To: None <misc-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <jmcneill@invisible.ca>
List: netbsd-bugs
Date: 12/25/2007 18:00:01
>Number: 37612
>Category: misc
>Synopsis: cpu_switchto(9) doesn't document 'returning' parameter
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: misc-bug-people
>State: open
>Class: doc-bug
>Submitter-Id: net
>Arrival-Date: Tue Dec 25 18:00:01 +0000 2007
>Originator: Jared D. McNeill
>Release: NetBSD 4.99.44
>Organization:
>Environment:
System: NetBSD black.invisible.ca 4.99.44 NetBSD 4.99.44 (GENERIC) #1: Sun Dec 23 14:10:17 EST 2007 jmcneill@black.invisible.ca:/export/home/jmcneill/branches/HEAD/src/sys/arch/amd64/compile/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:
The cpu_switchto(9) man page declares the function as:
lwp_t *cpu_switchto(lwp_t *oldlwp, lwp_t *newlwp);
But should now read:
lwp_t *cpu_switchto(lwp_t *oldlwp, lwp_t *newlwp, bool returning);
>How-To-Repeat:
>Fix:
>Unformatted: