aewl

diff util.c @ 338:06438e022f9a

eliminated sentinel warning
author Anselm R. Garbe <arg@10kloc.org>
date Wed, 23 Aug 2006 12:28:39 +0200
parents 58c09c533d3f
children 44a55e6e46bf
line diff
     1.1 --- a/util.c	Wed Aug 23 12:10:55 2006 +0200
     1.2 +++ b/util.c	Wed Aug 23 12:28:39 2006 +0200
     1.3 @@ -56,7 +56,7 @@
     1.4  			if(dpy)
     1.5  				close(ConnectionNumber(dpy));
     1.6  			setsid();
     1.7 -			execl(shell, shell, "-c", arg->cmd, NULL);
     1.8 +			execl(shell, shell, "-c", arg->cmd, (char *)NULL);
     1.9  			fprintf(stderr, "dwm: execl '%s -c %s'", shell, arg->cmd);
    1.10  			perror(" failed");
    1.11  		}