procps: import version 3.2.8 of the procps utilities

Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
Tested-by: Gergely Kiss <mail.gery@gmail.com>
This commit is contained in:
Gergely Kiss
2014-12-14 23:34:26 +01:00
committed by Steven Barth
parent 5e2f77242a
commit 76ba0ac87a
4 changed files with 149 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
--- a/proc/sig.c
+++ b/proc/sig.c
@@ -214,7 +214,7 @@ void pretty_print_signals(void){
while(++i <= number_of_signals){
int n;
n = printf("%2d %s", i, signal_number_to_name(i));
- 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);
+ 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);
else printf("\n");
}
if((i-1)%7) printf("\n");