aboutsummaryrefslogtreecommitdiffstats
path: root/testing/usbip-utils/sigcld.patch
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2014-07-09 10:19:27 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2014-07-09 10:19:34 +0000
commit3f3f2fdd034dd77d718a212551b3208039961e8a (patch)
tree5d6caac368e8d0b731c19c4a1c4bff82cbe0c344 /testing/usbip-utils/sigcld.patch
parent9c7ee0d598cee4bf91596f1e18b53805cb8f7ddd (diff)
downloadaports-3f3f2fdd034dd77d718a212551b3208039961e8a.tar.bz2
aports-3f3f2fdd034dd77d718a212551b3208039961e8a.tar.xz
testing/usbip-utils: fixes #690
Diffstat (limited to 'testing/usbip-utils/sigcld.patch')
-rw-r--r--testing/usbip-utils/sigcld.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/usbip-utils/sigcld.patch b/testing/usbip-utils/sigcld.patch
new file mode 100644
index 0000000000..8616faec35
--- /dev/null
+++ b/testing/usbip-utils/sigcld.patch
@@ -0,0 +1,13 @@
+diff --git a/src/usbipd.c b/src/usbipd.c
+index 7980f8b..3ccf94f 100644
+--- a/src/usbipd.c
++++ b/src/usbipd.c
+@@ -451,7 +451,7 @@ static void set_signal(void)
+ sigaction(SIGTERM, &act, NULL);
+ sigaction(SIGINT, &act, NULL);
+ act.sa_handler = SIG_IGN;
+- sigaction(SIGCLD, &act, NULL);
++ sigaction(SIGCHLD, &act, NULL);
+ }
+
+ static const char *pid_file;