chiark / gitweb /
add format strings to two *printf statements, patch from Andreas Moog (Closes: #631685)
authorMatthew Vernon <matthew@debian.org>
Mon, 4 Jul 2011 16:48:39 +0000 (17:48 +0100)
committerMatthew Vernon <matthew@debian.org>
Mon, 4 Jul 2011 16:48:39 +0000 (17:48 +0100)
brl.c

diff --git a/brl.c b/brl.c
index ddf0052..d4a088a 100644 (file)
--- 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 {