typo
This commit is contained in:
parent
4876b592d4
commit
6f0cc916c6
2 changed files with 2 additions and 2 deletions
|
@ -79,7 +79,7 @@ sched_init(int nthreads, int qlen, taskfunc f, void *closure)
|
|||
pthread_t threads[nthreads];
|
||||
for(int i = 0; i < nthreads; ++i) {
|
||||
if(pthread_create(&threads[i], NULL, sched_worker, &sched) != 0) {
|
||||
fprintf(stderr, "Can't create the thread %d\n", i);
|
||||
fprintf(stderr, "Can't create the thread %d", i);
|
||||
|
||||
if(i > 0) {
|
||||
fprintf(stderr, ", cancelling already created threads...\n");
|
||||
|
|
|
@ -76,7 +76,7 @@ sched_init(int nthreads, int qlen, taskfunc f, void *closure)
|
|||
pthread_t threads[nthreads];
|
||||
for(int i = 0; i < nthreads; ++i) {
|
||||
if(pthread_create(&threads[i], NULL, sched_worker, &sched) != 0) {
|
||||
fprintf(stderr, "Can't create the thread %d\n", i);
|
||||
fprintf(stderr, "Can't create the thread %d", i);
|
||||
|
||||
if(i > 0) {
|
||||
fprintf(stderr, ", cancelling already created threads...\n");
|
||||
|
|
Reference in a new issue