Subject: lib/4155: chroot.2 man page error
To: None <gnats-bugs@gnats.netbsd.org>
From: maximum entropy <entropy@tardis.bernstein.com>
List: netbsd-bugs
Date: 09/25/1997 18:35:21
>Number:         4155
>Category:       lib
>Synopsis:       chroot.2 man page contains an error
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    lib-bug-people (Library Bug People)
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Sep 25 15:50:02 1997
>Last-Modified:
>Originator:     maximum entropy
>Organization:
	
>Release:        <NetBSD-current source date>19970924
>Environment:
	
System: NetBSD tardis.bernstein.com 1.2G NetBSD 1.2G (C466DE) #0: Wed Sep 24 08:31:32 EDT 1997 entropy@tardis.bernstein.com:/usr/src/sys/arch/i386/compile/C466DE i386


>Description:
	
The chroot.2 man page incorrectly refers to the parameter "path" when it
should refer to the parameter "dirname".
>How-To-Repeat:
	
man 2 chroot
>Fix:
	

--- /usr/src/lib/libc/sys/chroot.2-orig	Fri Oct 13 20:54:16 1995
+++ /usr/src/lib/libc/sys/chroot.2	Thu Sep 25 18:27:11 1997
@@ -86,7 +86,7 @@
 .It Bq Er ELOOP
 Too many symbolic links were encountered in translating the pathname.
 .It Bq Er EFAULT
-.Fa Path
+.Fa Dirname
 points outside the process's allocated address space.
 .It Bq Er EIO
 An I/O error occurred while reading from or writing to the file system.
>Audit-Trail:
>Unformatted: