|
@@ -535,7 +535,7 @@ main(int argc, char *argv[])
|
|
case EAGAIN:
|
|
case EAGAIN:
|
|
ERROR("pthread_create returned an error; not enough system"
|
|
ERROR("pthread_create returned an error; not enough system"
|
|
" resources to create a process for the new thread\n");
|
|
" resources to create a process for the new thread\n");
|
|
- ERRORV("or more than %d threads are already active\n", PTHREAD_THREADS_MAX);
|
|
|
|
|
|
+ ERRORV("or more than max posix threads are already active\n");
|
|
return EXIT_FAILURE;
|
|
return EXIT_FAILURE;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -557,7 +557,7 @@ main(int argc, char *argv[])
|
|
case EAGAIN:
|
|
case EAGAIN:
|
|
ERROR("pthread_create returned an error; not enough system"
|
|
ERROR("pthread_create returned an error; not enough system"
|
|
" resources to create a process for the new thread\n");
|
|
" resources to create a process for the new thread\n");
|
|
- ERRORV("or more than %d threads are already active\n", PTHREAD_THREADS_MAX);
|
|
|
|
|
|
+ ERRORV("or more than max posix threads are already active\n");
|
|
return EXIT_FAILURE;
|
|
return EXIT_FAILURE;
|
|
}
|
|
}
|
|
}
|
|
}
|