summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorbcook <bcook@cvs.openbsd.org>2014-07-09 06:42:02 +0000
committerbcook <bcook@cvs.openbsd.org>2014-07-09 06:42:02 +0000
commit76ac0225d5f126cea5ec82ad549c646b81332cdb (patch)
tree9d8768068fc9f9ef285000d6803c46de771bef88 /regress
parent19c79993d6dc4cba65c6a7c0db9bc837764af7e5 (diff)
format string should be a string literal.
ok beck@ jsing@
Diffstat (limited to 'regress')
-rw-r--r--regress/lib/libcrypto/pkcs7/pkcs7test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/lib/libcrypto/pkcs7/pkcs7test.c b/regress/lib/libcrypto/pkcs7/pkcs7test.c
index 4e612c1e7a6..75d86fb974e 100644
--- a/regress/lib/libcrypto/pkcs7/pkcs7test.c
+++ b/regress/lib/libcrypto/pkcs7/pkcs7test.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pkcs7test.c,v 1.1 2014/07/02 16:29:36 jsing Exp $ */
+/* $OpenBSD: pkcs7test.c,v 1.2 2014/07/09 06:42:01 bcook Exp $ */
/*
* Copyright (c) 2014 Joel Sing <jsing@openbsd.org>
*
@@ -102,7 +102,7 @@ x509_store_callback(int ok, X509_STORE_CTX *ctx)
static void
fatal(const char *msg)
{
- warnx(msg);
+ warnx("%s", msg);
ERR_print_errors(BIO_new_fd(STDERR_FILENO, 0));
exit(1);
}