forgot to give entropy() some candy too
Ali H. Fardan raiz@firemail.cc
Wed, 31 Aug 2016 06:10:53 +0300
1 files changed,
2 insertions(+),
1 deletions(-)
jump to
M
slstatus.c
→
slstatus.c
@@ -252,7 +252,8 @@ int entropy = 0;
FILE *fp = fopen("/proc/sys/kernel/random/entropy_avail", "r"); if (fp == NULL) { - fprintf(stderr, "Could not open entropy file.\n"); + fprintf(stderr, "Could not open entropy file: %s\n", + strerror(errno)); return smprintf(UNKNOWN_STR); }