forgot to give entropy() some candy too

This commit is contained in:
Ali H. Fardan 2016-08-31 06:10:53 +03:00
parent cd3c084957
commit 5e4dc85bb9
1 changed files with 2 additions and 1 deletions

View File

@ -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);
}