Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Jul 2015 06:19:27 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-doc@FreeBSD.org
Subject:   [Bug 201489] random_harvest(9) man page has an incorrect function definition
Message-ID:  <bug-201489-9@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201489

            Bug ID: 201489
           Summary: random_harvest(9) man page has an incorrect function
                    definition
           Product: Documentation
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Documentation
          Assignee: freebsd-doc@FreeBSD.org
          Reporter: kenji.rikitake@acm.org

Created attachment 158639
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=158639&action=edit
unified diff for /usr/share/man/man9/random_harvest.9

I am using FreeBSD 10.2-PRERELEASE amd64 r285345.

I've found a manual bug at /usr/share/man/man9/random_harvest.9.

The function description

void random_harvest(void *entropy, u_int size, u_int bits, u_int frac,
     enum esource source);

is different from the current definition in <sys/random.h> as

void random_harvest(void *, u_int, u_int, enum esource);

and in /usr/src/sys/dev/random/harvest.c as:

void
random_harvest(void *entropy, u_int count, u_int bits, enum esource origin)

The attached patch is to fix the random_harvest.9 file.

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-201489-9>