~ruther/dwl

ef76c921ed9dfef892202342bc4b9c31cc16a0c9 — Devin J. Pohly 4 years ago 388c558
no need to cast NULL to void *
1 files changed, 1 insertions(+), 1 deletions(-)

M dwl.c
M dwl.c => dwl.c +1 -1
@@ 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");
		}
	}

Do not follow this link