From: Janpopan Date: Sun, 4 May 2014 16:13:43 +0000 (+0200) Subject: Fix a wrong parameter count ERR_add_error_data X-Git-Tag: OpenSSL_1_0_0m~27 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=30e9cbe7923fa2d68668b595d586b91d798f11e1;p=oweals%2Fopenssl.git Fix a wrong parameter count ERR_add_error_data --- diff --git a/crypto/dso/dso_dlfcn.c b/crypto/dso/dso_dlfcn.c index c2bc61760b..18c3dfb557 100644 --- a/crypto/dso/dso_dlfcn.c +++ b/crypto/dso/dso_dlfcn.c @@ -463,7 +463,7 @@ static int dlfcn_pathbyaddr(void *addr,char *path,int sz) return len; } - ERR_add_error_data(4, "dlfcn_pathbyaddr(): ", dlerror()); + ERR_add_error_data(2, "dlfcn_pathbyaddr(): ", dlerror()); #endif return -1; }