nast (0.2.0-6) printf-literal-format

Summary

 bcount.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

    
download this patch

Patch contents

Description: Use a string literal for the format argument in printf calls. 
Author: Jakub Wilk <jwilk@debian.org>
Bug: http://bugs.debian.org/614450
Forwarded: no
Last-Update: 2011-03-07

--- a/bcount.c
+++ b/bcount.c
@@ -153,7 +153,7 @@
 	     else icons++;
 
              sprintf (value, "%Ld", number);
-	     printf (value);
+	     printf ("%s", value);
 
 	     /* calculate space */
 	     if (strlen(value) < 6) printf ("\t\t");