summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorJason Downs <downsj@cvs.openbsd.org>1997-08-22 12:54:34 +0000
committerJason Downs <downsj@cvs.openbsd.org>1997-08-22 12:54:34 +0000
commit175c3757c0790c440b9cee1dcde75966099d7a18 (patch)
tree7d94b6ae58b2e4c7df1101b6e68e32fbb79a4992 /sys/dev
parent33080032cdfd57571640a00b5c84d548ad6d5cba (diff)
nbits should probably actually be initialized.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/rnd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/rnd.c b/sys/dev/rnd.c
index 7b40c1504b5..5c37fe605ba 100644
--- a/sys/dev/rnd.c
+++ b/sys/dev/rnd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rnd.c,v 1.31 1997/06/28 07:05:22 deraadt Exp $ */
+/* $OpenBSD: rnd.c,v 1.32 1997/08/22 12:54:33 downsj Exp $ */
/*
* random.c -- A strong random number generator
@@ -538,7 +538,7 @@ enqueue_randomness(state, val)
register struct timer_rand_state *state;
u_int val;
{
- u_int nbits;
+ u_int nbits = 0;
struct timeval tv;
register struct rand_event *rep;
int s;