summarylogtreecommitdiffstats
path: root/wait3_argument.patch
diff options
context:
space:
mode:
Diffstat (limited to 'wait3_argument.patch')
-rw-r--r--wait3_argument.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/wait3_argument.patch b/wait3_argument.patch
new file mode 100644
index 00000000000..802da049339
--- /dev/null
+++ b/wait3_argument.patch
@@ -0,0 +1,12 @@
+diff -Naur fsniper-1.3.1/src/main.c fsniper_new-1.3.1/src/main.c
+--- fsniper-1.3.1/src/main.c 2008-10-18 19:30:37.000000000 +0200
++++ fsniper_new-1.3.1/src/main.c 2016-09-27 09:49:54.689836092 +0200
+@@ -190,7 +190,7 @@
+ /* handler for reaping children after the fork is done. */
+ void handle_child_signal()
+ {
+- union wait status;
++ int status;
+ while (wait3(&status, WNOHANG, 0) > 0) {}
+ }
+