summaryrefslogtreecommitdiff
path: root/os/beos
diff options
context:
space:
mode:
authorDavid Reid <dreid@apache.org>1999-10-22 11:25:41 +0000
committerDavid Reid <dreid@apache.org>1999-10-22 11:25:41 +0000
commitda5c37e7d1dad7efd043b6c4ac005be636a9c03f (patch)
tree940c15fd2e90195df56ff010875b65f63438fad8 /os/beos
parent856a8fef2074a36b2023167a6fed42ea735fc91a (diff)
downloadhttpd-da5c37e7d1dad7efd043b6c4ac005be636a9c03f.tar.gz
This brings BeOS back up to date with the recent changes.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84020 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'os/beos')
-rw-r--r--os/beos/beosd.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/os/beos/beosd.c b/os/beos/beosd.c
index 9078e43098..90ad98b3b5 100644
--- a/os/beos/beosd.c
+++ b/os/beos/beosd.c
@@ -131,7 +131,7 @@ static int set_group_privs(void)
uid_t uid = atoi(&beosd_config.user_name[1]);
if ((ent = getpwuid(uid)) == NULL) {
- ap_log_error(APLOG_MARK, APLOG_ALERT, NULL,
+ ap_log_error(APLOG_MARK, APLOG_ALERT, errno, NULL,
"getpwuid: couldn't determine user name from uid %u, "
"you probably need to modify the User directive",
(unsigned)uid);
@@ -144,7 +144,7 @@ static int set_group_privs(void)
name = beosd_config.user_name;
if (setgid(beosd_config.group_id) == -1) {
- ap_log_error(APLOG_MARK, APLOG_ALERT, NULL,
+ ap_log_error(APLOG_MARK, APLOG_ALERT, errno, NULL,
"setgid: unable to set group id to Group %u",
(unsigned)beosd_config.group_id);
return -1;
@@ -153,7 +153,7 @@ static int set_group_privs(void)
/* Reset `groups' attributes. */
if (initgroups(name, beosd_config.group_id) == -1) {
- ap_log_error(APLOG_MARK, APLOG_ALERT, NULL,
+ ap_log_error(APLOG_MARK, APLOG_ALERT, errno, NULL,
"initgroups: unable to set groups for User %s "
"and Group %u", name, (unsigned)beosd_config.group_id);
return -1;
@@ -172,7 +172,7 @@ int beosd_setup_child(void)
/* Only try to switch if we're running as root */
if (!geteuid() && (
setuid(beosd_config.user_id) == -1)) {
- ap_log_error(APLOG_MARK, APLOG_ALERT, NULL,
+ ap_log_error(APLOG_MARK, APLOG_ALERT, errno, NULL,
"setuid: unable to change uid");
return -1;
}