[packages/ntp] - s/puts/fputs/ (hope, it is the last fix of this small issue)
adwol
adwol at pld-linux.org
Tue Aug 4 23:03:13 CEST 2015
commit a507fa3a0454098dbc7f145193bcb47a8ff02451
Author: Adam Osuchowski <adwol at pld-linux.org>
Date: Tue Aug 4 22:59:39 2015 +0200
- s/puts/fputs/ (hope, it is the last fix of this small issue)
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 02748f1..591b5a2 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);
-+ puts(Unity.XFAILMessage);
++ fputs(Unity.XFAILMessage, stdout);
Unity.XFAILMessage = NULL;
}
else
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ntp.git/commitdiff/a507fa3a0454098dbc7f145193bcb47a8ff02451
More information about the pld-cvs-commit
mailing list