0001-replace-deprecated-union-wait-with-int.patch 725 B

12345678910111213141516171819202122232425
  1. From 86fe87cdf097e6286e76eadcc9c11c79be6258f2 Mon Sep 17 00:00:00 2001
  2. From: Ryan Coe <bluemrp9@gmail.com>
  3. Date: Fri, 7 Oct 2016 19:42:40 -0700
  4. Subject: [PATCH 1/1] replace deprecated union wait with int
  5. Signed-off-by: Ryan Coe <bluemrp9@gmail.com>
  6. ---
  7. syslogd.c | 2 +-
  8. 1 file changed, 1 insertion(+), 1 deletion(-)
  9. diff --git a/syslogd.c b/syslogd.c
  10. index ea73ea5da5e935bb8cab328559f950cd3afc2d20..ace96c8be40f50d123120c0586a384a298212245 100644
  11. --- a/syslogd.c
  12. +++ b/syslogd.c
  13. @@ -2094,7 +2094,7 @@ void reapchild()
  14. (void) signal(SIGCHLD, reapchild); /* reset signal handler -ASP */
  15. wait ((int *)0);
  16. #else
  17. - union wait status;
  18. + int status;
  19. while (wait3(&status, WNOHANG, (struct rusage *) NULL) > 0)
  20. ;
  21. --
  22. 2.9.3