summaryrefslogtreecommitdiffstats
path: root/sys/dev/random
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2014-11-11 14:30:35 +0000
committerkib <kib@FreeBSD.org>2014-11-11 14:30:35 +0000
commit0fbb2f4700fd52b773ac66ae2634280dcbde9a9e (patch)
treeecb77c80c1169e4828c82e45f070d3684d02577e /sys/dev/random
parentce96d70e1715bdfa14d35a3fc0fbe85594d8a179 (diff)
downloadFreeBSD-src-0fbb2f4700fd52b773ac66ae2634280dcbde9a9e.zip
FreeBSD-src-0fbb2f4700fd52b773ac66ae2634280dcbde9a9e.tar.gz
Update comment.
Noted by: dim Approved by: secteam (des) MFC after: 4 days
Diffstat (limited to 'sys/dev/random')
-rw-r--r--sys/dev/random/ivy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/random/ivy.c b/sys/dev/random/ivy.c
index bbc4e78..71a61f4 100644
--- a/sys/dev/random/ivy.c
+++ b/sys/dev/random/ivy.c
@@ -70,7 +70,7 @@ ivy_rng_store(u_long *buf)
retry = RETRY_COUNT;
__asm __volatile(
"1:\n\t"
- "rdrand %1\n\t" /* read randomness into tmp */
+ "rdrand %1\n\t" /* read randomness into rndval */
"jc 2f\n\t" /* CF is set on success, exit retry loop */
"dec %0\n\t" /* otherwise, retry-- */
"jne 1b\n\t" /* and loop if retries are not exhausted */
OpenPOWER on IntegriCloud