$OpenBSD: patch-librmt_remote_c,v 1.1 2003/10/26 17:22:24 sturm Exp $
--- librmt/remote.c.orig	2003-10-25 16:40:02.000000000 +0200
+++ librmt/remote.c	2003-10-25 16:40:19.000000000 +0200
@@ -1502,7 +1502,7 @@ _rcmdrsh(ahost, inport, locuser, remuser
 		av0 = rsh;
 		if ((p = strrchr(rsh, '/')) != NULL)
 			av0 = ++p;
-		execlp(rsh, av0, *ahost, "-l", remuser, cmd, NULL);
+		execlp(rsh, av0, *ahost, "-l", remuser, cmd, (void *)NULL);
 
 		rmt_errmsgno(geterrno(), "execlp '%s' failed.\n", rsh);
 		_exit(EX_BAD);
