1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
|
Description: Fix wrong printf usage in cli.c to make it compile with -Werror=format-security
Author: Axel Beckert <abe@debian.org>
Index: hnb/src/libcli/cli.c
===================================================================
--- hnb.orig/src/libcli/cli.c 2013-07-13 15:55:51.000000000 +0200
+++ hnb/src/libcli/cli.c 2013-07-13 15:59:54.547447708 +0200
@@ -57,7 +57,7 @@
wp=word;
*wp='\0';
} else {
- printf(tbuf);printf("\n");
+ printf("%s\n", tbuf);
bp=tbuf;
*bp='\0';
strcpy(bp,word);
|