no need to cast NULL to void *

This commit is contained in:
Devin J. Pohly 2020-12-25 01:38:24 -05:00
parent 388c5580cb
commit ef76c921ed

2
dwl.c
View File

@ -1883,7 +1883,7 @@ run(char *startup_cmd)
if (startup_pid < 0)
EBARF("startup: fork");
if (startup_pid == 0) {
execl("/bin/sh", "/bin/sh", "-c", startup_cmd, (void *)NULL);
execl("/bin/sh", "/bin/sh", "-c", startup_cmd, NULL);
EBARF("startup: execl");
}
}