diff options
Diffstat (limited to 'src/cyclictest/cyclictest.c')
-rw-r--r-- | src/cyclictest/cyclictest.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/cyclictest/cyclictest.c b/src/cyclictest/cyclictest.c index 5d83bb1..7346a32 100644 --- a/src/cyclictest/cyclictest.c +++ b/src/cyclictest/cyclictest.c @@ -2058,8 +2058,11 @@ int main(int argc, char **argv) fatal("failed to create thread %d: %s\n", i, strerror(status)); } - if (use_fifo) + if (use_fifo) { status = pthread_create(&fifo_threadid, NULL, fifothread, NULL); + if (status) + fatal("failed to create fifo thread: %s\n", strerror(status)); + } while (!shutdown) { char lavg[256]; |