summaryrefslogtreecommitdiffstats
path: root/usr.bin/newkey
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/newkey')
-rw-r--r--usr.bin/newkey/update.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/newkey/update.c b/usr.bin/newkey/update.c
index 2f1c53f..23248ef 100644
--- a/usr.bin/newkey/update.c
+++ b/usr.bin/newkey/update.c
@@ -188,7 +188,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