/[packages]/cauldron/procps/current/SOURCES/procps-3.2.7-fix-format-string.patch
ViewVC logotype

Contents of /cauldron/procps/current/SOURCES/procps-3.2.7-fix-format-string.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 328 - (show annotations) (download)
Fri Jan 7 23:44:59 2011 UTC (13 years, 2 months ago) by tmb
File size: 500 byte(s)
imported package procps
1 Index: proc/sig.c
2 ===================================================================
3 --- proc/sig.c
4 +++ proc/sig.c 2009-03-08 00:55:33.000000000 +0100
5 @@ -214,7 +214,7 @@
6 while(++i <= number_of_signals){
7 int n;
8 n = printf("%2d %s", i, signal_number_to_name(i));
9 - if(i%7) printf(" \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" + n);
10 + if(i%7) printf("%s", " \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" + n);
11 else printf("\n");
12 }
13 if((i-1)%7) printf("\n");

  ViewVC Help
Powered by ViewVC 1.1.30