From 592d3b63117f0346e24aed875cc78d06af2b3631 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Thu, 1 Nov 2012 04:26:16 +0100 Subject: Fix 'format not a string literal' error Thanks to Francois Andriot --- src/translators/btparse/bibtex_ast.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/translators/btparse/bibtex_ast.c') diff --git a/src/translators/btparse/bibtex_ast.c b/src/translators/btparse/bibtex_ast.c index 354cefb..341c3d0 100644 --- a/src/translators/btparse/bibtex_ast.c +++ b/src/translators/btparse/bibtex_ast.c @@ -57,7 +57,7 @@ static void dump (AST *root, int depth) void dump_ast (char *msg, AST *root) { if (msg != NULL) - printf (msg); + printf ("%s", msg); dump (root, 0); printf ("\n"); } -- cgit v1.2.1