summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2002-07-16 14:08:35 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2002-07-16 14:08:35 +0000
commit0e9ef4f1d41f82645b52d5662f9e8589f1646090 (patch)
tree78c0d9564942c6235de1d959963651736323ee4e
parentf96c1874a1e19eb1da9cc2529a460c4791eef444 (diff)
correct error message
-rw-r--r--usr.sbin/httpd/src/main/http_main.c10
1 files changed, 5 insertions, 5 deletions
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);
}