]> git.pld-linux.org Git - packages/SaWMan.git/blob - SaWMan-format.patch
- added format patch (workarounds to build with -Werror=format-security)
[packages/SaWMan.git] / SaWMan-format.patch
1 --- SaWMan-1.6.2/src/sawman_config.c.orig       2012-09-20 17:19:17.000000000 +0200
2 +++ SaWMan-1.6.2/src/sawman_config.c    2012-10-06 19:28:41.470170130 +0200
3 @@ -85,7 +85,7 @@
4                 *next++ = '\0';
5  
6            if (strcmp (buf, "help") == 0) {
7 -               fprintf( stderr, config_usage );
8 +               fputs( config_usage, stderr );
9                 exit(1);
10            }
11  
12 @@ -515,7 +515,7 @@
13            for (i = 1; i < *argc; i++) {
14  
15                 if (!strcmp( (*argv)[i], "--sawman-help" )) {
16 -                    fprintf( stderr, config_usage );
17 +                    fputs( config_usage, stderr );
18                      exit(1);
19                 }
20  
This page took 0.965865 seconds and 3 git commands to generate.