aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/random
diff options
context:
space:
mode:
authorSimon L. B. Nielsen <simon@FreeBSD.org>2007-11-29 16:06:54 +0000
committerSimon L. B. Nielsen <simon@FreeBSD.org>2007-11-29 16:06:54 +0000
commit177061dbad860f511fc207a2a73cff83a09bf5f8 (patch)
treed7d05e224770807c1824ad627fa6bc4a803cda6b /sys/dev/random
parent190aa7c4ceb697ddde05cca2a2384ad84b4c9846 (diff)
Notes
Diffstat (limited to 'sys/dev/random')
-rw-r--r--sys/dev/random/yarrow.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/random/yarrow.c b/sys/dev/random/yarrow.c
index 010de0c1153a..6f631bb11137 100644
--- a/sys/dev/random/yarrow.c
+++ b/sys/dev/random/yarrow.c
@@ -296,6 +296,7 @@ random_yarrow_read(void *buf, int count)
random_state.outputblocks = 0;
}
retval += (int)tomove;
+ cur = 0;
}
}
else {