Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Mar 2002 03:27:29 GMT
From:      Hiten Pandya <hiten@uk.FreeBSD.org>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   docs/35949: [PATCH] rtprio(1) man page uses incorrect english
Message-ID:  <200203160327.g2G3RTO81130@hpdi.ath.cx>

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

>Number:         35949
>Category:       docs
>Synopsis:       [PATCH] rtprio(1) man page uses incorrect english
>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:   Fri Mar 15 19:40:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Hiten Pandya
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD hpdi.ath.cx 5.0-CURRENT FreeBSD 5.0-CURRENT #3: Wed Mar 13 23:44:48 GMT 2002 hitenp@hpdi.ath.cx:/c1/obj/data/dev/src/sys/CURRENT5 i386

>Description:

	The rtprio(1) uses incorrect english in the BUGS section.  The
	provided patch will fix that, and also _boldface_ the "root"
	user in the man page (mdoc(1) change).  Also, instead of:

		"system calls are currently never preempted"
	
	It will substitute it with:

		"system calls are currently not preempted"
	
	Thanks,
	
	  -- Hiten Pandya
	  -- <hiten@uk.FreeBSD.org>
	  
>How-To-Repeat:
	visit the rtprio(1) manual page.	
>Fix:

	The following patch should be applied to src/usr.sbin/rtprio/rtprio.1
	
--- rtprio.1.old	Sat Mar 16 02:22:41 2002
+++ rtprio.1	Sat Mar 16 03:03:58 2002
@@ -108,7 +108,9 @@
 .Ar Pid
 of 0 means "the current process".
 .Pp
-Only root is allowed to set realtime or idle priority for a process.
+Only 
+.Sy root 
+is allowed to set realtime or idle priority for a process.
 .Sh DIAGNOSTICS
 If
 .Nm
@@ -184,16 +186,16 @@
 (swapper) (see
 .Xr ps 1 ) .
 .Pp
-There is in
-.Fx
-no way to ensure that a process page is present in memory therefore
+There is no way in
+.Fx ,
+to ensure that a process page is present in memory therefore
 the process may be stopped for pagein (see
 .Xr mprotect 2 ,
 .Xr madvise 2 ) .
 .Pp
 Under
-.Fx
-system calls are currently never preempted, therefore non-realtime
+.Fx ,
+system calls are currently not preempted, therefore non-realtime
 processes can starve realtime processes, or idletime processes can
 starve normal priority processes.
 .Sh AUTHORS
>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?200203160327.g2G3RTO81130>