summaryrefslogtreecommitdiff
path: root/src/libs6/s6-ftrigrd.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2016-10-16 15:47:32 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2016-10-16 15:47:32 +0000
commit85d3f29ce384dea6cfbaa80215ce86d2d0358eba (patch)
treead3c759c61699b6a0d8b872565d7c1044e0afb7b /src/libs6/s6-ftrigrd.c
parent4a90dd1f9063fd5a91431ee6873c25c5c8229805 (diff)
downloads6-85d3f29ce384dea6cfbaa80215ce86d2d0358eba.tar.xz
Unconditionally switch s6-ftrigrd to surf (avoid boot stalling problems, and nobody cares about that RNG not being CS)
Diffstat (limited to 'src/libs6/s6-ftrigrd.c')
-rw-r--r--src/libs6/s6-ftrigrd.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/libs6/s6-ftrigrd.c b/src/libs6/s6-ftrigrd.c
index 3200300..ac79bd2 100644
--- a/src/libs6/s6-ftrigrd.c
+++ b/src/libs6/s6-ftrigrd.c
@@ -13,7 +13,6 @@
#include <skalibs/stralloc.h>
#include <skalibs/sig.h>
#include <skalibs/tai.h>
-#include <skalibs/random.h>
#include <skalibs/djbunix.h>
#include <skalibs/iopause.h>
#include <skalibs/unixmessage.h>
@@ -195,8 +194,7 @@ int main (void)
if (ndelay_on(0) < 0) strerr_diefu2sys(111, "ndelay_on ", "0") ;
if (ndelay_on(1) < 0) strerr_diefu2sys(111, "ndelay_on ", "1") ;
if (sig_ignore(SIGPIPE) < 0) strerr_diefu1sys(111, "ignore SIGPIPE") ;
- if (!random_init())
- strerr_diefu1sys(111, "init random generator") ;
+ ftrig1_init() ;
{
tain_t deadline ;