summary refs log blame commit diff
path: root/pkgs/os-specific/linux/sysklogd/union-wait.patch
blob: e4bffa5d6953e9285b4698bc06be0861decd0ad2 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                                               
--- sysklogd-1.5-old/syslogd.c	2016-08-30 22:50:59.812926945 +0100
+++ sysklogd-1.5/syslogd.c	2016-08-30 22:51:12.008842890 +0100
@@ -2094,7 +2094,7 @@
 	(void) signal(SIGCHLD, reapchild);	/* reset signal handler -ASP */
 	wait ((int *)0);
 #else
-	union wait status;
+	int status;
 
 	while (wait3(&status, WNOHANG, (struct rusage *) NULL) > 0)
 		;