File: compiler-flags.patch

package info (click to toggle)
yagiuda 1.19-13
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,728 kB
  • sloc: ansic: 5,222; sh: 3,293; makefile: 45
file content (14 lines) | stat: -rw-r--r-- 349 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Description: Fixes buildtime error caused by fprintf and -Wformat-security default flag
Author: Dave Hibberd <d@vehibberd.com>
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/

--- a/src/error_message.c
+++ b/src/error_message.c
@@ -6,5 +6,5 @@
 
 void error_message(char *str)
 {
-	fprintf(stderr,str);
+	fputs(str,stderr);
 }