--- netkit-rsh-0.17-pre20000412/rexecd/rexecd.c.varargs 2005-08-23 10:24:25.000000000 -0400 +++ netkit-rsh-0.17-pre20000412/rexecd/rexecd.c 2005-08-23 10:26:45.000000000 -0400 @@ -421,7 +421,7 @@ doit(struct sockaddr_in *fromp) #endif for (ifd=3; ifd<OPEN_MAX; ifd++) close(ifd); - execle(theshell, cp2, "-c", cmdbuf, 0, myenviron); + execle(theshell, cp2, "-c", cmdbuf, NULL, myenviron); perror(theshell); exit(1); } --- netkit-rsh-0.17-pre20000412/rshd/rshd.c.varargs 2005-08-23 10:24:25.000000000 -0400 +++ netkit-rsh-0.17-pre20000412/rshd/rshd.c 2005-08-23 10:25:23.000000000 -0400 @@ -486,7 +486,7 @@ doit(struct sockaddr_in *fromp) #endif for (ifd=3; ifd<OPEN_MAX; ifd++) close(ifd); - execl(theshell, shellname, "-c", cmdbuf, 0); + execl(theshell, shellname, "-c", cmdbuf, NULL); perror(theshell); exit(1); }