jer         14/12/14 13:25:17

  Added:                hnb-1.9.18-printf.patch
  Log:
  Fix printf call (bug #521252).
  
  (Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 
A792A613)

Revision  Changes    Path
1.1                  app-text/hnb/files/hnb-1.9.18-printf.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/hnb/files/hnb-1.9.18-printf.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/hnb/files/hnb-1.9.18-printf.patch?rev=1.1&content-type=text/plain

Index: hnb-1.9.18-printf.patch
===================================================================
--- 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);




Reply via email to