diff options
author | Yann Ylavic <ylavic@apache.org> | 2022-02-02 02:06:42 +0000 |
---|---|---|
committer | Yann Ylavic <ylavic@apache.org> | 2022-02-02 02:06:42 +0000 |
commit | a31b463532e83d557a4898cfb6411e144bc39266 (patch) | |
tree | 690fad110862da034e45eadfb075c28754a29445 /server | |
parent | 3462fcfa750b2b3058c6684cb895f10b0f3b6c7e (diff) | |
download | httpd-a31b463532e83d557a4898cfb6411e144bc39266.tar.gz |
main: Follow up to r1897240: Fix bad log copypasta.
Don't stderr printf the "stat" and "failed" results from the previous
apr_app_initialize() call for an error in ap_thread_main_create().
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1897680 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'server')
-rw-r--r-- | server/main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/server/main.c b/server/main.c index 2681521542..9512ea141a 100644 --- a/server/main.c +++ b/server/main.c @@ -397,9 +397,9 @@ static process_rec *init_process(int *argc, const char * const * *argv) if ((rv = ap_thread_main_create(&thd, process->pool))) { char ctimebuff[APR_CTIME_LEN]; apr_ctime(ctimebuff, apr_time_now()); - fprintf(stderr, "[%s] [crit] (%d) %s: %s failed " - "to initialize thread context (%i), exiting\n", - ctimebuff, stat, (*argv)[0], failed, rv); + fprintf(stderr, "[%s] [crit] (%d) %s: failed " + "to initialize thread context, exiting\n", + ctimebuff, rv, (*argv)[0]); apr_terminate(); exit(1); } |