]> git.pld-linux.org Git - packages/clit.git/blob - clit-format.patch
- added format patch (fixes build with -Werror=format-security)
[packages/clit.git] / clit-format.patch
1 --- clit-1.8/clit18/clit.c.orig 2004-07-04 17:20:12.000000000 +0200
2 +++ clit-1.8/clit18/clit.c      2016-09-01 18:15:22.946863883 +0200
3 @@ -125,9 +125,9 @@
4              dir_program[i+1] = '\0'; break;\r
5          }\r
6      }\r
7 -    printf(sTitle);\r
8 +    fputs(sTitle, stdout);\r
9      if (argc < 3) { \r
10 -        printf(sUsage);\r
11 +        fputs(sUsage, stdout);\r
12          return -1;\r
13      }\r
14      base = 1;\r
This page took 0.045669 seconds and 3 git commands to generate.