aboutsummaryrefslogtreecommitdiffstats
path: root/testing/usbip-utils/sigcld.patch
blob: 8616faec3575ec1a92531f65d445c8482adcc327 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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;