[packages/ntp] - s/printf/puts/

adwol adwol at pld-linux.org
Mon Aug 3 15:07:35 CEST 2015


commit 5b9efee450def4e73d4e86b4164b7673d34b9bef
Author: Adam Osuchowski <adwol at pld-linux.org>
Date:   Mon Aug 3 15:07:22 2015 +0200

    - s/printf/puts/

 ntp-printf_format_string.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/ntp-printf_format_string.patch b/ntp-printf_format_string.patch
index c9de60e..02748f1 100644
--- a/ntp-printf_format_string.patch
+++ b/ntp-printf_format_string.patch
@@ -6,7 +6,7 @@ diff -ruNp ntp-4.2.8p3.orig/sntp/unity/unity.c ntp-4.2.8p3/sntp/unity/unity.c
  
  			printf("| ");
 -			printf(Unity.XFAILMessage);
-+			printf("%s", Unity.XFAILMessage);
++			puts(Unity.XFAILMessage);
  			Unity.XFAILMessage = NULL;
  		}
  		else
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ntp.git/commitdiff/5b9efee450def4e73d4e86b4164b7673d34b9bef



More information about the pld-cvs-commit mailing list