Explorar el Código

removed constant PTHREADS_THREADS_MAX because it is nowhere defined nowadays

Klumpp, Paul-Dieter hace 7 años
padre
commit
37eb667519
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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;
 			}
 		}