File: fix_format_not_a_string.patch

package info (click to toggle)
spooles 2.2-14.2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 19,716 kB
  • sloc: ansic: 146,836; sh: 7,571; csh: 3,615; makefile: 1,970; perl: 74
file content (15 lines) | stat: -rw-r--r-- 366 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: fix format not a string error
Author: Anton Gladky <gladk@debian.org>
Last-Update: 2013-10-01

--- spooles-2.2.orig/Utilities/src/iohb.c
+++ spooles-2.2/Utilities/src/iohb.c
@@ -1725,7 +1725,7 @@ static void upcase(char* S)
 
 static void IOHBTerminate(char* message) 
 {
-   fprintf(stderr,message);
+   fprintf(stderr,"%s",message);
    exit(1);
 }