author | Anselm R. Garbe <arg@10kloc.org> |
Wed, 23 Aug 2006 12:28:39 +0200 | |
changeset 338 | 06438e022f9a |
parent 337 | c4c9e2dad45c |
child 339 | 5c874c619287 |
--- a/util.c Wed Aug 23 12:10:55 2006 +0200 +++ b/util.c Wed Aug 23 12:28:39 2006 +0200 @@ -56,7 +56,7 @@ if(dpy) close(ConnectionNumber(dpy)); setsid(); - execl(shell, shell, "-c", arg->cmd, NULL); + execl(shell, shell, "-c", arg->cmd, (char *)NULL); fprintf(stderr, "dwm: execl '%s -c %s'", shell, arg->cmd); perror(" failed"); }