Subject: lib/23951: Typo in mlock(2).
To: None <gnats-bugs@gnats.netbsd.org>
From: Aidan Kehoe <aidan.kehoe@phorest.ie>
List: netbsd-bugs
Date: 01/02/2004 16:24:40
>Number:         23951
>Category:       lib
>Synopsis:       One character typo in src/lib/libc/sys/mlock.2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    lib-bug-people
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jan 02 16:25:01 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Aidan Kehoe
>Release:        NetBSD 1.6ZD
>Organization:

Aidan Kehoe
Technical Officer
nDevor Systems Ltd

Email: aidan.kehoe@phorest.ie
Mobile: +353 86 3874935 
Phone: +353 1 8747800 (GMT office hours)
Physical: 69 Middle Abbey Street, Dublin 1, Ireland
Web: http://www.phorest.com/
>Environment:
System: NetBSD smiley 1.6ZD NetBSD 1.6ZD (SMILEY) #: Fri Oct 17 09:51:15 IST 2003 aidan@smiley:/usr/obj/sys/arch/i386/compile/SMILEY i386
Architecture: i386
Machine: i386
>Description:
	The manual page for the mlock system call says EPERM is returned when
	"mlock was called by non-root on an architecture were locked page
	accounting ...". The adverb of location is normally spelled "where" in
	current written English. "Were" means something else.
>How-To-Repeat:
	n/a
>Fix:

$ diff -u src/lib/libc/sys/mlock.2{~,}                    
--- src/lib/libc/sys/mlock.2~   2003-12-27 16:06:23.000000000 +0000
+++ src/lib/libc/sys/mlock.2    2003-12-27 16:05:16.000000000 +0000
@@ -121,7 +121,7 @@
 There was an error faulting/mapping a page.
 .It Bq Er EPERM
 .Fn mlock
-was called by non-root on an architecture were locked page accounting
+was called by non-root on an architecture where locked page accounting
 is not implemented.
 .Pp
 .El
$ 
>Release-Note:
>Audit-Trail:
>Unformatted: