diff options
author | kato <kato@FreeBSD.org> | 2000-07-28 09:36:37 +0000 |
---|---|---|
committer | kato <kato@FreeBSD.org> | 2000-07-28 09:36:37 +0000 |
commit | dd73d75cd10a7d9ad861c74d367639da92b1c29d (patch) | |
tree | aa8d85dc8d34838cc0ff17c3674606f1b13055a1 /sys | |
parent | 9095749df834f0fbb2ed6800a45d3e12e6b869c2 (diff) | |
download | FreeBSD-src-dd73d75cd10a7d9ad861c74d367639da92b1c29d.zip FreeBSD-src-dd73d75cd10a7d9ad861c74d367639da92b1c29d.tar.gz |
Merged from sys/dev/syscons/syscons.c revision 1.345.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/pc98/pc98/syscons.c | 3 |
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); |