all repos — slstatus @ 5e4dc85bb9bf821d87bcf8a13e0f0843fd68bfe1

my build of slstatus (tools.suckless.org/slstatus/)

forgot to give entropy() some candy too
Ali H. Fardan raiz@firemail.cc
Wed, 31 Aug 2016 06:10:53 +0300
commit

5e4dc85bb9bf821d87bcf8a13e0f0843fd68bfe1

parent

cd3c084957483c4192edf2e8feb4c759668a1055

1 files changed, 2 insertions(+), 1 deletions(-)

jump to
M slstatus.cslstatus.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); }