forked from mirror/dwl
no need to cast NULL to void *
This commit is contained in:
parent
388c5580cb
commit
ef76c921ed
1 changed files with 1 additions and 1 deletions
2
dwl.c
2
dwl.c
|
@ -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");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue