Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Jul 2001 00:23:51 -0700 (PDT)
From:      Cristan Szmajda <cristan@unsw.edu.au>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/29101: type errors in /sys/dev/random/harvest.c
Message-ID:  <200107200723.f6K7NpO41068@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         29101
>Category:       kern
>Synopsis:       type errors in /sys/dev/random/harvest.c
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 20 00:30:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Cristan Szmajda
>Release:        5.0-CURRENT
>Organization:
UNSW
>Environment:
FreeBSD jocasta 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Fri Jul 20 16:34:26 EST 2001     cls@jocasta:/usr/src/sys/i386/compile/JOCASTA  i386

>Description:
compiling /sys/dev/random/harvest.c fails with type errors
>How-To-Repeat:
add "device random" to kernel configuration and compile
>Fix:
Change the rightmost "u_int" to "enum esource" on lines 53, 58, and 78
of /sys/dev/random/harvest.c (in the declarations of "reap_func",
"reaper", and "random_harvest" respectively). 

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

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




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