--- child-old.c	Tue Jun 03 11:07:12 2003
+++ child.c	Tue Jun 03 11:01:54 2003
@@ -845,7 +845,7 @@
                 ap_log_error(APLOG_MARK, APLOG_CRIT, apr_get_os_error(), ap_server_conf,
                              "Child %d: _beginthreadex failed. Unable to create all worker threads. "
                              "Created %d of the %d threads requested with the ThreadsPerChild configuration directive.", 
-                             threads_created, ap_threads_per_child);
+                             my_pid, threads_created, ap_threads_per_child);
                 ap_signal_parent(SIGNAL_PARENT_SHUTDOWN);
                 goto shutdown;
             }
@@ -892,7 +892,7 @@
         if (rv == WAIT_FAILED) {
             /* Something serious is wrong */
             ap_log_error(APLOG_MARK, APLOG_CRIT, apr_get_os_error(), ap_server_conf,
-                         "Child %d: WAIT_FAILED -- shutting down server");
+                         "Child %d: WAIT_FAILED -- shutting down server", my_pid);
             break;
         }
         else if (rv == WAIT_TIMEOUT) {
