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 ddf00520f425b4d0259ecd0f0a8f0d6b98b25e70..d4a088a0367bb437c6a0013f89f6f2ecf9649406 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 */
                    strcpy(dstp, srcp);
                }
                /* now print out the verse */
-               printf( vb2 );
+               printf( "%s", vb2 );
                if (outf != NULL)
                if (outf != NULL)
-                   fprintf( outf, vb2 );
+                   fprintf( outf, "%s", vb2 );
            } /* for */
        } /* while */
     } else {
            } /* for */
        } /* while */
     } else {