Browse Source

removed constant PTHREADS_THREADS_MAX because it is nowhere defined nowadays

Klumpp, Paul-Dieter 7 years ago
parent
commit
37eb667519
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/masterserver/masterserver.c

+ 2 - 2
src/masterserver/masterserver.c

@@ -535,7 +535,7 @@ main(int argc, char *argv[])
 				case EAGAIN:
 					ERROR("pthread_create returned an error; not enough system"
 						" 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;
 			}
 		}
@@ -557,7 +557,7 @@ main(int argc, char *argv[])
 				case EAGAIN:
 					ERROR("pthread_create returned an error; not enough system"
 						" 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;
 			}
 		}