From 8636b161b333b18525b6f5ffc5139079c29c0d63 Mon Sep 17 00:00:00 2001 From: brian Date: Mon, 9 Jul 2001 09:24:06 +0000 Subject: Fix the type of the NULL arg to execl() Idea from: Theo de Raadt --- usr.sbin/rpc.ypupdated/update.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr.sbin/rpc.ypupdated/update.c') diff --git a/usr.sbin/rpc.ypupdated/update.c b/usr.sbin/rpc.ypupdated/update.c index 996347b..376743b 100644 --- a/usr.sbin/rpc.ypupdated/update.c +++ b/usr.sbin/rpc.ypupdated/update.c @@ -193,7 +193,7 @@ _openchild(command, fto, ffrom) _exit(~0); } (void)sprintf(com, "exec %s", command); - execl(SHELL, basename(SHELL), "-c", com, NULL); + execl(SHELL, basename(SHELL), "-c", com, (char *)NULL); _exit(~0); default: -- cgit v1.1