summaryrefslogtreecommitdiff
path: root/unmaintained/usbip-utils/sigcld.patch
blob: a2b6911a6a486490b83da9ec47fb8c0e1c427fe6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -urN a/usbip/src/usbipd.c b/usbip/src/usbipd.c
--- a/src/usbipd.c	2017-05-22 21:37:14.800713048 +0200
+++ b/src/usbipd.c	2017-05-22 21:37:51.500808963 +0200
@@ -463,7 +463,7 @@
 	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;