On Thu, 23 Aug 2018 15:52:13 +1200, I wrote: > + fprintf(stderr, "error %d jointing thread %d: %s\n", err, strerror(err), entry->worker); which should of course be: > + fprintf(stderr, "error %d joining thread %d: %s\n", err, entry->worker, strerror(err));