diff options
Diffstat (limited to 'src/minutils/s6-fillurandompool.c')
-rw-r--r-- | src/minutils/s6-fillurandompool.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/minutils/s6-fillurandompool.c b/src/minutils/s6-fillurandompool.c index 6421659..c96437c 100644 --- a/src/minutils/s6-fillurandompool.c +++ b/src/minutils/s6-fillurandompool.c @@ -1,14 +1,10 @@ /* ISC license. */ -#include <skalibs/strerr2.h> #include <skalibs/random.h> int main (void) { char c ; - PROG = "s6-fillurandompool" ; - if (!random_init()) - strerr_diefu1sys(111, "initialize random generator") ; - random_string(&c, 1) ; + random_buf(&c, 1) ; return 0 ; } |