Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Jan 2001 19:24:06 +0100 (CET)
From:      Robert Drehmel <robert@gizmo.quizbot.org>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   docs/24311: Wrong prototype in mi_switch(9) man page.
Message-ID:  <200101131824.f0DIO6000844@gizmo.quizbot.org>

next in thread | raw e-mail | index | archive | help

>Number:         24311
>Category:       docs
>Synopsis:       Wrong prototype in mi_switch(9) man page.
>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:   Sat Jan 13 10:30:00 PST 2001
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message




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