File: fix_ftbfs_with_printf.patch

package info (click to toggle)
jack-tools 20101210-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 504 kB
  • sloc: ansic: 4,678; makefile: 122; lisp: 48; sh: 16
file content (18 lines) | stat: -rw-r--r-- 366 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: fix FTBFS with printf where no format is specified 
Author: IOhannes m zmölnig
Forwarded: Yes (Mail)
---
 jack.dl.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- jack-tools.orig/jack.dl.c
+++ jack-tools/jack.dl.c
@@ -17,7 +17,7 @@
 
 void fail(char *s)
 {
-  fprintf(stderr, s);
+  fprintf(stderr, "%s", s);
   exit(EXIT_FAILURE);
 }