From root@gizmo.quizbot.org  Sat Jan 13 10:24:00 2001
Return-Path: <root@gizmo.quizbot.org>
Received: from gizmo.quizbot.org (blndi5-212-144-192-133.arcor-ip.net [212.144.192.133])
	by hub.freebsd.org (Postfix) with ESMTP id AEFD437B6A2
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 13 Jan 2001 10:23:59 -0800 (PST)
Received: (from root@localhost)
	by gizmo.quizbot.org (8.11.0/8.11.0) id f0DIO6000844;
	Sat, 13 Jan 2001 19:24:06 +0100 (CET)
	(envelope-from root)
Message-Id: <200101131824.f0DIO6000844@gizmo.quizbot.org>
Date: Sat, 13 Jan 2001 19:24:06 +0100 (CET)
From: Robert Drehmel <robert@gizmo.quizbot.org>
To: FreeBSD-gnats-submit@freebsd.org
Subject: Wrong prototype in mi_switch(9) man page.
X-Send-Pr-Version: 3.2

>Number:         24311
>Category:       docs
>Synopsis:       Wrong prototype in mi_switch(9) man page.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan 13 10:30:00 PST 2001
>Closed-Date:    Sat Jan 13 11:01:35 PST 2001
>Last-Modified:  Sat Jan 13 11:02:41 PST 2001
>Originator:     Robert Drehmel <robert@gizmo.quizbot.org>
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
>Environment:

FreeBSD 5.0-CURRENT i386

>Description:

The function prototype for the cpu_switch function in its
man page is wrong.  mi_switch(9) says
``cpu_switch(struct proc *)'' but according to <sys/proc.h>,
it has to be ``cpu_switch(void)''. 

>How-To-Repeat:

man cpu_switch

>Fix:

Index: mi_switch.9
===================================================================
RCS file: /home/ncvs/src/share/man/man9/mi_switch.9,v
retrieving revision 1.8
diff -r1.8 mi_switch.9
52c52
< .Fn cpu_switch "struct proc *p"
---
> .Fn cpu_switch "void"


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: chris 
State-Changed-When: Sat Jan 13 11:01:35 PST 2001 
State-Changed-Why:  
Committed in revision 1.9 of mi_switch.9.  Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=24311 
>Unformatted:
