mirror of
https://github.com/openwrt/packages.git
synced 2025-12-22 14:44:36 +04:00
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:
committed by
Steven Barth
parent
5e2f77242a
commit
76ba0ac87a
11
utils/procps/patches/030-fix-string-problems.patch
Normal file
11
utils/procps/patches/030-fix-string-problems.patch
Normal 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");
|
||||
Reference in New Issue
Block a user