X-Git-Url: https://git.sur5r.net/?p=i3%2Fi3;a=blobdiff_plain;f=i3-nagbar%2Fmain.c;h=3e5f43e367ef6018b460daa337ef220c7b965ee8;hp=e4628e303452feae75294e0de9208cc26ba5bc8e;hb=0b5a2092a08f7e4463b5d52e11d84750af84e73c;hpb=aca7790217f6bac58e4588a5b80fcd41de781c8e diff --git a/i3-nagbar/main.c b/i3-nagbar/main.c index e4628e30..3e5f43e3 100644 --- a/i3-nagbar/main.c +++ b/i3-nagbar/main.c @@ -115,7 +115,7 @@ static void start_application(const char *command) { setsid(); if (fork() == 0) { /* This is the child */ - execl(_PATH_BSHELL, _PATH_BSHELL, "-c", command, (void *)NULL); + execl(_PATH_BSHELL, _PATH_BSHELL, "-c", command, NULL); /* not reached */ } exit(0);