diff options
Diffstat (limited to 'src/ui.c')
-rw-r--r-- | src/ui.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -527,7 +527,7 @@ void BarUiStartEventCmd (const BarSettings_t *settings, const char *type, /* child */ close (pipeFd[1]); dup2 (pipeFd[0], fileno (stdin)); - execl (settings->eventCmd, settings->eventCmd, type, NULL); + execl (settings->eventCmd, settings->eventCmd, type, (char *) NULL); BarUiMsg (MSG_ERR, "Cannot start eventcmd. (%s)\n", strerror (errno)); close (pipeFd[0]); exit (1); |