summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/hnb/files/hnb-1.9.18-printf.patch')
-rw-r--r--app-text/hnb/files/hnb-1.9.18-printf.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/app-text/hnb/files/hnb-1.9.18-printf.patch b/app-text/hnb/files/hnb-1.9.18-printf.patch
new file mode 100644
index 000000000000..d8ac27efb643
--- /dev/null
+++ b/app-text/hnb/files/hnb-1.9.18-printf.patch
@@ -0,0 +1,11 @@
+--- a/src/libcli/cli.c
++++ b/src/libcli/cli.c
+@@ -57,7 +57,7 @@
+ wp=word;
+ *wp='\0';
+ } else {
+- printf(tbuf);printf("\n");
++ printf("%s\n", tbuf);
+ bp=tbuf;
+ *bp='\0';
+ strcpy(bp,word);