patch-fileio_c 385 B

12345678910111213
  1. $OpenBSD: patch-fileio_c,v 1.2 2012/03/23 21:37:50 naddy Exp $
  2. --- fileio.c.orig Mon Sep 8 16:25:28 2003
  3. +++ fileio.c Fri Mar 23 22:27:59 2012
  4. @@ -779,7 +779,7 @@ char *cmd;
  5. #ifdef SIGPIPE
  6. signal(SIGPIPE, SIG_DFL);
  7. #endif
  8. - execl("/bin/sh", "sh", "-c", cmd, 0);
  9. + execl("/bin/sh", "sh", "-c", cmd, NULL);
  10. Panic(errno, "/bin/sh");
  11. default:
  12. break;