summaryrefslogtreecommitdiffstats
path: root/usr.sbin/rpc.ypupdated/update.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/rpc.ypupdated/update.c')
-rw-r--r--usr.sbin/rpc.ypupdated/update.c2
1 files changed, 1 insertions, 1 deletions
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:
OpenPOWER on IntegriCloud