From nobody@FreeBSD.ORG  Thu May 25 02:51:39 2000
Return-Path: <nobody@FreeBSD.ORG>
Received: by hub.freebsd.org (Postfix, from userid 32767)
	id 357D637BDF2; Thu, 25 May 2000 02:51:39 -0700 (PDT)
Message-Id: <20000525095139.357D637BDF2@hub.freebsd.org>
Date: Thu, 25 May 2000 02:51:39 -0700 (PDT)
From: ota@mail.drexel.edu
Sender: nobody@FreeBSD.ORG
To: freebsd-gnats-submit@FreeBSD.org
Subject: typo in reboot.2 and revoke.2 of Release 3.4 manual
X-Send-Pr-Version: www-1.0

>Number:         18805
>Category:       docs
>Synopsis:       typo in reboot.2 and revoke.2 of Release 3.4 manual
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    alex
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 25 03:00:01 PDT 2000
>Closed-Date:    Tue Jun 13 05:57:24 PDT 2000
>Last-Modified:  Tue Jun 13 06:00:57 PDT 2000
>Originator:     Yoshihiro Ota
>Release:        3.2 release
>Organization:
jp-man project
>Environment:
FreeBSD moon.advok.com 3.2-RELEASE FreeBSD 3.2-RELEASE #5: Thu May 25 10:37:24 EDT 2000     root@moon.advok.com:/usr/src/sys/compile/moon  i386

>Description:
typo in reboot.2 and revoke.2 of Release 3.4 manual

See the patch.

>How-To-Repeat:
man 2 reboot
man 2 revoke
>Fix:
--- reboot.2.orig	Thu May 25 05:41:45 2000
+++ reboot.2	Thu May 25 05:42:23 2000
@@ -84,7 +84,7 @@
 This option should be used with caution.
 .It Dv RB_POWEROFF
 After halting, the shutdown code will do what it can to turn
-of the power. This requires hardware support.
+off the power. This requires hardware support.
 .It Dv RB_INITNAME
 An option allowing the specification of an init program (see
 .Xr init 8 )


--- revoke.2.orig	Thu May 25 05:41:52 2000
+++ revoke.2	Thu May 25 05:45:32 2000
@@ -81,7 +81,7 @@
 A component of the path prefix is not a directory.
 .It Bq Er ENAMETOOLONG
 A component of a pathname exceeded 255 characters,
-or an entire path name exceeded 1024 characters.
+or an entire path name exceeded 1023 characters.
 .It Bq Er ENOENT
 The named file or a component of the path name does not exist.
 .It Bq Er EACCES


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-doc->alex 
Responsible-Changed-By: alex 
Responsible-Changed-When: Mon Jun 12 08:55:34 PDT 2000 
Responsible-Changed-Why:  
This does appy to HEAD, too. 
I'll take this one 

http://www.freebsd.org/cgi/query-pr.cgi?pr=18805 
State-Changed-From-To: open->closed 
State-Changed-By: alex 
State-Changed-When: Tue Jun 13 05:57:24 PDT 2000 
State-Changed-Why:  
Commited the reboot.2 fix to HEAD, RELENG_4 and RELENG_3. Thanks! 

The revoke(2) manpage is correct, though. 
Please see /sys/kern/vfs_syscalls.c, /sys/kern/vfs_lookup.c 
and copystr(3) for more information. 

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