diff options
| author | Mark Murray <markm@FreeBSD.org> | 2018-08-24 14:53:42 +0000 |
|---|---|---|
| committer | Mark Murray <markm@FreeBSD.org> | 2018-08-24 14:53:42 +0000 |
| commit | 27064b30f23ed42c97d5413126658f856575fa17 (patch) | |
| tree | a83be9daefbaa83d94e60991a7ec78376b74bc0b /sys/dev/random | |
| parent | c6c0be2765af8b5ed2c50615b5b8dfaafd78ed27 (diff) | |
Notes
Diffstat (limited to 'sys/dev/random')
| -rw-r--r-- | sys/dev/random/fortuna.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/random/fortuna.c b/sys/dev/random/fortuna.c index 98473a1b08ef1..17ebbd833c9af 100644 --- a/sys/dev/random/fortuna.c +++ b/sys/dev/random/fortuna.c @@ -371,7 +371,7 @@ random_fortuna_pre_read(void) if (fortuna_state.fs_pool[0].fsp_length >= fortuna_state.fs_minpoolsize #ifdef _KERNEL /* FS&K - Use 'getsbinuptime()' to prevent reseed-spamming. */ - && (now - fortuna_state.fs_lasttime > hz/10) + && (now - fortuna_state.fs_lasttime > SBT_1S/10) #endif ) { #ifdef _KERNEL |
