random: Fix previous commit for getentropy function.
authorNIIBE Yutaka <gniibe@fsij.org>
Tue, 15 Jan 2019 06:48:25 +0000 (15:48 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Tue, 15 Jan 2019 06:48:25 +0000 (15:48 +0900)
commit17f246c7044ab9ed236f6ec73fc126654257f0f9
tree27e5c7f81ea80ed09765ba8b2905c23809d57e7e
parent2677d7d482bf2d078c1dce64854747c5b148924b
random: Fix previous commit for getentropy function.

* random/rndlinux.c [__NR_getrandom] (_gcry_rndlinux_gather_random):
Check return value only for use of syscall.

--

The function returns 0 on success.

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
random/rndlinux.c