mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-11 17:04:19 +01:00
Merged from sys/dev/syscons/syscons.c revision 1.345.
This commit is contained in:
parent
21cca9bebe
commit
1fb2276093
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=63960
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user