Subject: kern/17992: man rnd(9) mentions .*_FLAGS_.* instead of .*_FLAG_.*
To: None <gnats-bugs@gnats.netbsd.org>
From: None <ChristianBiere@gmx.de>
List: netbsd-bugs
Date: 08/19/2002 10:37:54
>Number:         17992
>Category:       kern
>Synopsis:       man rnd(9) mentions .*_FLAGS_.* instead of .*_FLAG_.*
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Aug 19 10:38:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Christian Biere
>Release:        1.6_BETA4
>Organization:
>Environment:
>Description:
man rnd(9) mentions these two flags which don't exist:
RND_FLAGS_NO_COLLECT
RND_FLAGS_NO_ESTIMATE

It should mention these instead:
RND_FLAG_NO_COLLECT
RND_FLAG_NO_ESTIMATE
>How-To-Repeat:

>Fix:
Index: rnd.9
===================================================================
RCS file: /cvsroot/sharesrc/share/man/man9/rnd.9,v
retrieving revision 1.11
diff -u -r1.11 rnd.9
--- rnd.9       2002/02/13 08:18:50     1.11
+++ rnd.9       2002/08/19 16:58:33
@@ -96,13 +96,13 @@
 .Pp
 .Fa flags
 are the logical OR of
-.Dv RND_FLAGS_NO_COLLECT (don't collect or estimate)
-.Dv RND_FLAGS_NO_ESTIMATE (don't estimate)
+.Dv RND_FLAG_NO_COLLECT (don't collect or estimate)
+.Dv RND_FLAG_NO_ESTIMATE (don't estimate)
 to control the default setting for collection and estimation.  Note that
 devices of type
 .Dv RND_TYPE_NET
 default to
-.Dv RND_FLAGS_NO_ESTIMATE .
+.Dv RND_FLAG_NO_ESTIMATE .
 .Pp
 .It Fn rnd_detach_source "rndsource_element_t *rnd_source"
 This function disconnects the device from entropy collection.

>Release-Note:
>Audit-Trail:
>Unformatted: