]> Git Repo - buildroot-mgba.git/blob - package/sysklogd/0001-Replace-deprecated-union-wait-with-int.patch
fs/common.mk: disable real chown calls in fakeroot
[buildroot-mgba.git] / package / sysklogd / 0001-Replace-deprecated-union-wait-with-int.patch
1 From 76685540a7882926c54bc0d1a8945b7a6abffe40 Mon Sep 17 00:00:00 2001
2 From: Ryan Coe <[email protected]>
3 Date: Fri, 7 Oct 2016 19:42:40 -0700
4 Subject: [PATCH] Replace deprecated union wait with int
5
6 This is needed for compatibility with glibc >= 2.24.
7
8 Signed-off-by: Ryan Coe <[email protected]>
9 ---
10  syslogd.c | 2 +-
11  1 file changed, 1 insertion(+), 1 deletion(-)
12
13 diff --git a/syslogd.c b/syslogd.c
14 index ea73ea5..ace96c8 100644
15 --- a/syslogd.c
16 +++ b/syslogd.c
17 @@ -2094,7 +2094,7 @@ void reapchild()
18         (void) signal(SIGCHLD, reapchild);      /* reset signal handler -ASP */
19         wait ((int *)0);
20  #else
21 -       union wait status;
22 +       int status;
23  
24         while (wait3(&status, WNOHANG, (struct rusage *) NULL) > 0)
25                 ;
26 -- 
27 2.7.4
28
This page took 0.030298 seconds and 4 git commands to generate.