eliminated sentinel warning
7711ab67
1 file(s) · +1 −1
| 56 | 56 | if(dpy) |
|
| 57 | 57 | close(ConnectionNumber(dpy)); |
|
| 58 | 58 | setsid(); |
|
| 59 | - | execl(shell, shell, "-c", arg->cmd, NULL); |
|
| 59 | + | execl(shell, shell, "-c", arg->cmd, (char *)NULL); |
|
| 60 | 60 | fprintf(stderr, "dwm: execl '%s -c %s'", shell, arg->cmd); |
|
| 61 | 61 | perror(" failed"); |
|
| 62 | 62 | } |