From nobody@FreeBSD.org  Fri Jul 20 00:23:51 2001
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id 27E9837B405
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 20 Jul 2001 00:23:51 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.4/8.11.4) id f6K7NpO41068;
	Fri, 20 Jul 2001 00:23:51 -0700 (PDT)
	(envelope-from nobody)
Message-Id: <200107200723.f6K7NpO41068@freefall.freebsd.org>
Date: Fri, 20 Jul 2001 00:23:51 -0700 (PDT)
From: Cristan Szmajda <cristan@unsw.edu.au>
To: freebsd-gnats-submit@FreeBSD.org
Subject: type errors in /sys/dev/random/harvest.c
X-Send-Pr-Version: www-1.0

>Number:         29101
>Category:       kern
>Synopsis:       type errors in /sys/dev/random/harvest.c
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    markm
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 20 00:30:00 PDT 2001
>Closed-Date:    Fri Jul 20 01:58:04 PDT 2001
>Last-Modified:  Fri Jul 20 01:58:43 PDT 2001
>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:
Responsible-Changed-From-To: freebsd-bugs->markm 
Responsible-Changed-By: dd 
Responsible-Changed-When: Fri Jul 20 00:35:37 PDT 2001 
Responsible-Changed-Why:  
Over to maintainer. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=29101 
State-Changed-From-To: open->closed 
State-Changed-By: markm 
State-Changed-When: Fri Jul 20 01:58:04 PDT 2001 
State-Changed-Why:  
Fixes applied. Thanks! 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=29101 
>Unformatted:
