diff options
Diffstat (limited to 'testing/procps-ng/sig_printf_literal.patch')
-rw-r--r-- | testing/procps-ng/sig_printf_literal.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/procps-ng/sig_printf_literal.patch b/testing/procps-ng/sig_printf_literal.patch new file mode 100644 index 000000000..2140abf0d --- /dev/null +++ b/testing/procps-ng/sig_printf_literal.patch @@ -0,0 +1,11 @@ +--- a/proc/sig.c ++++ b/proc/sig.c +@@ -257,7 +257,7 @@ + while(++i <= number_of_signals){ + int n; + n = printf("%2d %s", i, signal_number_to_name(i)); +- if(n>0 && 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(n>0 && 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"); |