diff options
author | Jeff Trawick <trawick@apache.org> | 2000-06-07 13:51:49 +0200 |
---|---|---|
committer | Jeff Trawick <trawick@apache.org> | 2000-06-07 13:51:49 +0200 |
commit | 78a645f5df6387d6913465e54684da8940c1b915 (patch) | |
tree | e731b7a29b327b3bde87826c01bb8c8e5430be22 /os/unix/unixd.c | |
parent | combine two entries because they just *cannot* be separated... (diff) | |
download | apache2-78a645f5df6387d6913465e54684da8940c1b915.tar.xz apache2-78a645f5df6387d6913465e54684da8940c1b915.zip |
Fix some bad (1.3 style) parmlists to ap_log_error() which were introduced
with the reintroduction of resource limiting logic.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85456 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'os/unix/unixd.c')
-rw-r--r-- | os/unix/unixd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/os/unix/unixd.c b/os/unix/unixd.c index 054f8491be..4409dd7f5d 100644 --- a/os/unix/unixd.c +++ b/os/unix/unixd.c @@ -411,7 +411,7 @@ API_EXPORT(void) unixd_set_rlimit(cmd_parms *cmd, struct rlimit **plimit, limit = *plimit; if ((getrlimit(type, limit)) != 0) { *plimit = NULL; - ap_log_error(APLOG_MARK, APLOG_ERR, cmd->server, + ap_log_error(APLOG_MARK, APLOG_ERR, 0, cmd->server, "%s: getrlimit failed", cmd->cmd->name); return; } @@ -425,7 +425,7 @@ API_EXPORT(void) unixd_set_rlimit(cmd_parms *cmd, struct rlimit **plimit, } } else { - ap_log_error(APLOG_MARK, APLOG_NOERRNO|APLOG_ERR, cmd->server, + ap_log_error(APLOG_MARK, APLOG_NOERRNO|APLOG_ERR, 0, cmd->server, "Invalid parameters for %s", cmd->cmd->name); return; } @@ -438,7 +438,7 @@ API_EXPORT(void) unixd_set_rlimit(cmd_parms *cmd, struct rlimit **plimit, if (geteuid()) { limit->rlim_cur = cur; if (max) { - ap_log_error(APLOG_MARK, APLOG_NOERRNO|APLOG_ERR, cmd->server, + ap_log_error(APLOG_MARK, APLOG_NOERRNO|APLOG_ERR, 0, cmd->server, "Must be uid 0 to raise maximum %s", cmd->cmd->name); } } |