]> git.pld-linux.org Git - packages/bcc.git/blob - dev86-format.patch
- added format patch to fix build with -Werror=format-security
[packages/bcc.git] / dev86-format.patch
1 --- dev86-0.16.19/copt/copt.c.orig      2012-10-26 23:51:09.735174869 +0200
2 +++ dev86-0.16.19/copt/copt.c   2012-10-26 23:55:09.276050428 +0200
3 @@ -803,7 +803,7 @@
4         exit(1);
5    }
6    if (headstr != NULL) {
7 -       fprintf(fp, headstr);
8 +       fprintf(fp, "%s", headstr);
9         fprintf(fp, "\n");
10    }
11    for (lp = infile; lp != NULL; lp = lp->next)
12 --- dev86-0.16.19/ar/ar.c.orig  2012-08-13 21:15:47.000000000 +0200
13 +++ dev86-0.16.19/ar/ar.c       2012-10-26 23:59:23.414647129 +0200
14 @@ -2036,7 +2036,7 @@
15       struct mapelt *mapelt;
16  {
17    fprintf (stderr, "%s: ", program_name);
18 -  fprintf (stderr, string);
19 +  fprintf (stderr, "%s", string);
20    if (mapelt->info.offset != 0)
21      fprintf (stderr, "%s(%s)", archive, mapelt->info.name);
22    else
This page took 0.055539 seconds and 3 git commands to generate.