summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkato <kato@FreeBSD.org>2000-07-28 09:36:37 +0000
committerkato <kato@FreeBSD.org>2000-07-28 09:36:37 +0000
commitdd73d75cd10a7d9ad861c74d367639da92b1c29d (patch)
treeaa8d85dc8d34838cc0ff17c3674606f1b13055a1
parent9095749df834f0fbb2ed6800a45d3e12e6b869c2 (diff)
downloadFreeBSD-src-dd73d75cd10a7d9ad861c74d367639da92b1c29d.zip
FreeBSD-src-dd73d75cd10a7d9ad861c74d367639da92b1c29d.tar.gz
Merged from sys/dev/syscons/syscons.c revision 1.345.
-rw-r--r--sys/pc98/pc98/syscons.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/pc98/pc98/syscons.c b/sys/pc98/pc98/syscons.c
index 1330c33..c68e61a 100644
--- a/sys/pc98/pc98/syscons.c
+++ b/sys/pc98/pc98/syscons.c
@@ -2975,8 +2975,7 @@ next_code:
if (!(c & RELKEY))
sc_touch_scrn_saver();
- /* do the /dev/random device a favour */
- random_harvest((u_int64_t)c, 1, 0, RANDOM_KEYBOARD);
+ random_harvest(&c, sizeof(c), 1, 0, RANDOM_KEYBOARD);
if (scp->kbd_mode != K_XLATE)
return KEYCHAR(c);
OpenPOWER on IntegriCloud