aewl

changeset 338:06438e022f9a

eliminated sentinel warning
author Anselm R. Garbe <arg@10kloc.org>
date Wed, 23 Aug 2006 12:28:39 +0200
parents c4c9e2dad45c
children 5c874c619287
files util.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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  		}