]> git.ipfire.org Git - thirdparty/util-linux.git/commit
lib/randutils: reset lose counter
authorKarel Zak <kzak@redhat.com>
Mon, 14 Aug 2017 08:56:08 +0000 (10:56 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 14 Aug 2017 08:56:08 +0000 (10:56 +0200)
commit51013d3efadc47efed76bb2cdf6aa1444dacdb95
tree0d72aebbd628d724ee0d4a7022784c890af66a16
parent5264aebb4f822fa9147ee576562a4961ca97261d
lib/randutils: reset lose counter

It's probaly good idea to reset lose counter when we fallback from
getrandom() to /dev/urandom.

Signed-off-by: Karel Zak <kzak@redhat.com>
lib/randutils.c