Add ERR_put_func_error, and use it.
[openssl.git] / crypto / conf / conf_def.c
index 277e4d64c96bc42299b88c2ce9903ba512e8e7d0..f82dd3cc625e1d2a7f15fda358880788f4a7b8d0 100644 (file)
@@ -673,7 +673,7 @@ static BIO *process_include(char *include, OPENSSL_DIR_CTX **dirctx,
     BIO *next;
 
     if (stat(include, &st) < 0) {
-        SYSerr(SYS_F_STAT, errno);
+        SYSerr("stat", errno);
         ERR_add_error_data(1, include);
         /* missing include file is not fatal error */
         return NULL;