summaryrefslogtreecommitdiff
path: root/sys/dev/random/randomdev_soft.c
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2005-03-18 07:13:35 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2005-03-18 07:13:35 +0000
commitf7e6cbd933cafe20568561761a54ea72fd68f0b5 (patch)
tree4880af7873237e91b793d50eeafe985e123ea5a9 /sys/dev/random/randomdev_soft.c
parentcb7ff8b71d0ccfb33f9aa52479b20a2690e28cf5 (diff)
Notes
Diffstat (limited to 'sys/dev/random/randomdev_soft.c')
-rw-r--r--sys/dev/random/randomdev_soft.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/random/randomdev_soft.c b/sys/dev/random/randomdev_soft.c
index fb25d5ca659b..87f13af331fb 100644
--- a/sys/dev/random/randomdev_soft.c
+++ b/sys/dev/random/randomdev_soft.c
@@ -90,7 +90,7 @@ static struct entropyfifo emptyfifo;
#define EMPTYBUFFERS 1024
/* Harvested entropy */
-static struct entropyfifo harvestfifo[ENTROPYSOURCE];
+static struct entropyfifo harvestfifo[ENTROPYSOURCE + 1];
/* <0 to end the kthread, 0 to let it run */
static int random_kthread_control = 0;