summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2017-03-15 15:24:25 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2017-03-15 15:24:25 +0000
commit2205cc0e26d80db1f2f5874458d42e5e702e761b (patch)
tree3b38ea93302c1ea144db8c4f9081282c7f053a87 /sys
parent184b9a6a5df059dbdec756be271cf2fa778ddf1d (diff)
spelling and whitespace
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/rnd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/rnd.c b/sys/dev/rnd.c
index a582123f3f7..0fe29bdea1c 100644
--- a/sys/dev/rnd.c
+++ b/sys/dev/rnd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rnd.c,v 1.191 2016/12/08 05:32:49 deraadt Exp $ */
+/* $OpenBSD: rnd.c,v 1.192 2017/03/15 15:24:24 deraadt Exp $ */
/*
* Copyright (c) 2011 Theo de Raadt.
@@ -142,7 +142,7 @@
* (See M. Matsumoto & Y. Kurita, 1992. Twisted GFSR generators. ACM
* Transactions on Modeling and Computer Simulation 2(3):179-194.
* Also see M. Matsumoto & Y. Kurita, 1994. Twisted GFSR generators
- * II. ACM Transactions on Mdeling and Computer Simulation 4:254-266)
+ * II. ACM Transactions on Modeling and Computer Simulation 4:254-266)
*
* Thanks to Colin Plumb for suggesting this.
*
@@ -262,7 +262,7 @@ static __inline struct rand_event *
rnd_put(void)
{
u_int idx = rnd_event_idx++;
-
+
/* allow wrapping. caller will use xor. */
idx = idx % QEVLEN;