File: 01-add-format-arguments.patch

package info (click to toggle)
vilistextum 2.6.9-1.4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 960 kB
  • sloc: sh: 3,814; ansic: 2,619; makefile: 59
file content (17 lines) | stat: -rw-r--r-- 275 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: Add format argument to printf.
Author: Mònica Ramírez Arceda <monica@probeta.net>
Last-Update: 2011-12-04



--- a/src/main.c
+++ b/src/main.c
@@ -165,7 +165,7 @@
 
 void help()
 {
-	printf(help_text);
+	printf("%s", help_text);
 
 	exit(0);
 } /* end help */