res = pthread_cond_timedwait( &condFinish, &mutexFinish, &sleepTo );
if ( !(res == ETIMEDOUT || res == 0) ) {
- fprintf(stderr,"pthread_cond_timedwait failed: %s", strerror(errno));
+ fprintf(stderr,"pthread_cond_timedwait failed: %s\n", strerror(errno));
exit(1);
}
}