diff options
Diffstat (limited to 'apps/lib/log.c')
-rw-r--r-- | apps/lib/log.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/lib/log.c b/apps/lib/log.c index 7cf5ad5f89..b2e356261f 100644 --- a/apps/lib/log.c +++ b/apps/lib/log.c @@ -46,7 +46,7 @@ static void log_with_prefix(const char *prog, const char *fmt, va_list ap) char prefix[80]; BIO *bio, *pre = BIO_new(BIO_f_prefix()); - (void)snprintf(prefix, sizeof(prefix), "%s: ", prog); + (void)BIO_snprintf(prefix, sizeof(prefix), "%s: ", prog); (void)BIO_set_prefix(pre, prefix); bio = BIO_push(pre, bio_err); (void)BIO_vprintf(bio, fmt, ap); |