diff options
author | Devin J. Pohly <djpohly@gmail.com> | 2020-12-25 01:38:24 -0500 |
---|---|---|
committer | Devin J. Pohly <djpohly@gmail.com> | 2020-12-25 01:41:09 -0500 |
commit | ef76c921ed9dfef892202342bc4b9c31cc16a0c9 (patch) | |
tree | f7f343c332461bfd8c4a3b064fcc894ce19f6ed2 | |
parent | 388c5580cbb032c9e5c3a9b2b578f0e0e27fc97b (diff) |
no need to cast NULL to void *
-rw-r--r-- | dwl.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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"); } } |