Merged from sys/dev/syscons/syscons.c revision 1.345.

This commit is contained in:
KATO Takenori 2000-07-28 09:36:37 +00:00
parent 21cca9bebe
commit 1fb2276093
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=63960

View File

@ -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);