summaryrefslogtreecommitdiffstats
path: root/entropy.c
diff options
context:
space:
mode:
Diffstat (limited to 'entropy.c')
-rw-r--r--entropy.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/entropy.c b/entropy.c
index a8216625..a650351 100644
--- a/entropy.c
+++ b/entropy.c
@@ -100,6 +100,7 @@ seed_rng(void)
close(p[0]);
close(p[1]);
close(devnull);
+ closefrom(STDERR_FILENO + 1);
if (original_uid != original_euid &&
( seteuid(getuid()) == -1 ||
OpenPOWER on IntegriCloud