From: Matthew Vernon Date: Mon, 4 Jul 2011 16:48:39 +0000 (+0100) Subject: add format strings to two *printf statements, patch from Andreas Moog (Closes: #631685) X-Git-Tag: 4.26~1 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~matthewv/git?p=bible-kjv.git;a=commitdiff_plain;h=fea7a5ca8bfb998deef1a132058aa799814213eb add format strings to two *printf statements, patch from Andreas Moog (Closes: #631685) --- diff --git a/brl.c b/brl.c index ddf0052..d4a088a 100644 --- a/brl.c +++ b/brl.c @@ -1082,9 +1082,9 @@ ref_t brl_printverse(char *vs,int pretty,int lwidth,FILE *outf) strcpy(dstp, srcp); } /* now print out the verse */ - printf( vb2 ); + printf( "%s", vb2 ); if (outf != NULL) - fprintf( outf, vb2 ); + fprintf( outf, "%s", vb2 ); } /* for */ } /* while */ } else {