int indx = (i * thread_limit) + j;
if (stat_buffer[indx] != '.') {
- ap_rprintf(r, " %" APR_OS_PROC_T_FMT
+ ap_rprintf(r, " %" APR_PID_T_FMT
" in state: %c ", pid_buffer[i],
stat_buffer[indx]);
else
ap_rprintf(r,
"<b>Server %d-%d</b> (%"
- APR_OS_PROC_T_FMT "): %d|%lu|%lu [",
+ APR_PID_T_FMT "): %d|%lu|%lu [",
i, (int) ps_record.generation,
ps_record.pid,
(int)conn_lres, my_lres, lres);
else
ap_rprintf(r,
"<tr><td><b>%d-%d</b></td><td>%"
- APR_OS_PROC_T_FMT
+ APR_PID_T_FMT
"</td><td>%d/%lu/%lu",
i, (int)ps_record.generation,
ps_record.pid, (int)conn_lres,
}
/* Initialize cross-process accept lock */
- ap_lock_fname = apr_psprintf(_pconf, "%s.%" APR_OS_PROC_T_FMT,
+ ap_lock_fname = apr_psprintf(_pconf, "%s.%" APR_PID_T_FMT,
ap_server_root_relative(_pconf, ap_lock_fname),
ap_my_pid);
}
/* Initialize cross-process accept lock */
- ap_lock_fname = apr_psprintf(_pconf, "%s.%" APR_OS_PROC_T_FMT,
+ ap_lock_fname = apr_psprintf(_pconf, "%s.%" APR_PID_T_FMT,
ap_server_root_relative(_pconf, ap_lock_fname),
ap_my_pid);
if (status == APEXIT_CHILDFATAL) {
ap_log_error(APLOG_MARK, APLOG_ALERT|APLOG_NOERRNO,
0, ap_server_conf,
- "Child %" APR_OS_PROC_T_FMT
+ "Child %" APR_PID_T_FMT
" returned a Fatal error..." APR_EOL_STR
"Apache is exiting!",
pid->pid);