forgot to give entropy() some candy too
This commit is contained in:
parent
cd3c084957
commit
5e4dc85bb9
1 changed files with 2 additions and 1 deletions
|
@ -252,7 +252,8 @@ entropy(void)
|
|||
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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue