diff options
-rw-r--r-- | writeups/ipv6/eyeball/eyeball.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/writeups/ipv6/eyeball/eyeball.c b/writeups/ipv6/eyeball/eyeball.c index af08ccf..21e99f6 100644 --- a/writeups/ipv6/eyeball/eyeball.c +++ b/writeups/ipv6/eyeball/eyeball.c @@ -385,6 +385,7 @@ bool spawn_threads (void) { fr = pthread_create(&g.th[i].th, NULL, happy_th_main, &g.th[i].args); g.th[i].started = fr == 0; if (!g.th[i].started) { + errno = fr; perror(ARGV0": pthread_create()"); return false; } |