From: Brian Havard Date: Wed, 31 May 2000 02:30:30 +0000 (+0000) Subject: Rework DSO error reporting to be more flexible & informative. X-Git-Tag: APACHE_2_0_ALPHA_4~34 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4d401b51b10cf75125d1b2ab17af762a51d81afe;p=apache Rework DSO error reporting to be more flexible & informative. This patch covers os/2, unix & win32. Other platforms still need some adjustment (BeOS, AIX). Reviewed by: rbb, gstein git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85357 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/mappers/mod_so.c b/modules/mappers/mod_so.c index c1389b540f..fa7c46035f 100644 --- a/modules/mappers/mod_so.c +++ b/modules/mappers/mod_so.c @@ -260,7 +260,7 @@ static const char *load_module(cmd_parms *cmd, void *dummy, return ap_pstrcat(cmd->pool, "Cannot load ", szModuleFile, " into server: ", - ap_strerror(status, my_error, sizeof(my_error)), + ap_dso_error(modhandle, my_error, sizeof(my_error)), NULL); } ap_log_error(APLOG_MARK, APLOG_DEBUG|APLOG_NOERRNO, 0, NULL,