From 0e9ef4f1d41f82645b52d5662f9e8589f1646090 Mon Sep 17 00:00:00 2001 From: Henning Brauer Date: Tue, 16 Jul 2002 14:08:35 +0000 Subject: correct error message --- usr.sbin/httpd/src/main/http_main.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'usr.sbin') diff --git a/usr.sbin/httpd/src/main/http_main.c b/usr.sbin/httpd/src/main/http_main.c index 5affe32135d..d0f6d7c32dc 100644 --- a/usr.sbin/httpd/src/main/http_main.c +++ b/usr.sbin/httpd/src/main/http_main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: http_main.c,v 1.15 2002/07/15 09:40:49 henning Exp $ */ +/* $OpenBSD: http_main.c,v 1.16 2002/07/16 14:08:34 henning Exp $ */ /* ==================================================================== * The Apache Software License, Version 1.1 @@ -5162,9 +5162,9 @@ static void standalone_main(int argc, char **argv) if(!is_graceful) if (ap_server_chroot) { if (geteuid()) { - ap_log_error(APLOG_MARK, APLOG_ALERT, server_conf, - "can't run in secure mode if not started with " - "root privs."); + ap_log_error(APLOG_MARK, APLOG_NOERRNO|APLOG_EMERG, + server_conf, "can't run in secure mode if not " + "started with root privs."); exit(1); } @@ -5172,7 +5172,7 @@ static void standalone_main(int argc, char **argv) OpenSSL_add_all_algorithms(); if (chroot(ap_server_root) < 0) { - ap_log_error(APLOG_MARK, APLOG_CRIT, server_conf, + ap_log_error(APLOG_MARK, APLOG_EMERG, server_conf, "unable to chroot into %s!", ap_server_root); exit(1); } -- cgit v1.2.3