diff options
author | Ali H. Fardan <raiz@firemail.cc> | 2016-08-31 06:10:53 +0300 |
---|---|---|
committer | Ali H. Fardan <raiz@firemail.cc> | 2016-08-31 06:10:53 +0300 |
commit | 5e4dc85bb9bf821d87bcf8a13e0f0843fd68bfe1 (patch) | |
tree | bae5cfc6f698e8e99588873d4f30b9f8dbc2e177 | |
parent | cd3c084957483c4192edf2e8feb4c759668a1055 (diff) |
forgot to give entropy() some candy too
-rw-r--r-- | slstatus.c | 3 |
1 files changed, 2 insertions, 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); } |