$OpenBSD: patch-authpipelib_c,v 1.2 2007/06/25 12:12:26 espie Exp $ --- authpipelib.c.orig Thu Aug 11 01:41:21 2005 +++ authpipelib.c Mon Jun 25 12:35:33 2007 @@ -42,7 +42,7 @@ static void execChild(int to[], int from[]) close(STDOUT_FILENO); dup2(from[1], STDOUT_FILENO); close(to[0]); close(to[1]); close(from[0]); close(from[1]); - execl(PIPE_PROGRAM, PIPE_PROGRAM, NULL); + execl(PIPE_PROGRAM, PIPE_PROGRAM, (char *)NULL); DPRINTF("pipe: failed to execute %s: %s",PIPE_PROGRAM, strerror(errno)); exit(1);