]> git.pld-linux.org Git - packages/clit.git/blobdiff - clit-format.patch
- added format patch (fixes build with -Werror=format-security)
[packages/clit.git] / clit-format.patch
diff --git a/clit-format.patch b/clit-format.patch
new file mode 100644 (file)
index 0000000..59c46cd
--- /dev/null
@@ -0,0 +1,14 @@
+--- clit-1.8/clit18/clit.c.orig        2004-07-04 17:20:12.000000000 +0200
++++ clit-1.8/clit18/clit.c     2016-09-01 18:15:22.946863883 +0200
+@@ -125,9 +125,9 @@
+             dir_program[i+1] = '\0'; break;\r
+         }\r
+     }\r
+-    printf(sTitle);\r
++    fputs(sTitle, stdout);\r
+     if (argc < 3) { \r
+-        printf(sUsage);\r
++        fputs(sUsage, stdout);\r
+         return -1;\r
+     }\r
+     base = 1;\r
This page took 0.043686 seconds and 4 git commands to generate.