summaryrefslogtreecommitdiffstats
path: root/src/crypto/bio/printf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/crypto/bio/printf.c')
-rw-r--r--src/crypto/bio/printf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crypto/bio/printf.c b/src/crypto/bio/printf.c
index 2f5ae4a..f51b396 100644
--- a/src/crypto/bio/printf.c
+++ b/src/crypto/bio/printf.c
@@ -95,7 +95,7 @@ int BIO_printf(BIO *bio, const char *format, ...) {
out = OPENSSL_malloc(requested_len + 1);
out_malloced = 1;
if (out == NULL) {
- OPENSSL_PUT_ERROR(BIO, ERR_R_MALLOC_FAILURE);
+ OPENSSL_PUT_ERROR(BIO, BIO_printf, ERR_R_MALLOC_FAILURE);
return -1;
}
va_start(args, format);