From b159b2eddd9df5df6cc8f29bd999cf1603c56991 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Thu, 28 Feb 2019 13:59:04 +0100 Subject: tests: Let run-verify print the de-vs flag. * tests/run-verify.c (print_result): Chack is_de_vs. * tests/run-import.c (main): Fix bad parameter for format string. Signed-off-by: Werner Koch --- tests/run-import.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/run-import.c') diff --git a/tests/run-import.c b/tests/run-import.c index d98871c3..f464eb1d 100644 --- a/tests/run-import.c +++ b/tests/run-import.c @@ -135,7 +135,7 @@ main (int argc, char **argv) err = gpgme_op_getauditlog (ctx, log, GPGME_AUDITLOG_DIAG); fail_if_err (err); buf = gpgme_data_release_and_get_mem (log, &len); - printf ("\nDiagnostic output:\n%.*s\n", len, buf); + printf ("\nDiagnostic output:\n%.*s\n", (int)len, buf); free (buf); } -- cgit v1.2.3