summaryrefslogtreecommitdiffstats
path: root/src/utils/lib/exec_shell.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/lib/exec_shell.c')
-rw-r--r--src/utils/lib/exec_shell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/lib/exec_shell.c b/src/utils/lib/exec_shell.c
index 18798eb..6fef6c7 100644
--- a/src/utils/lib/exec_shell.c
+++ b/src/utils/lib/exec_shell.c
@@ -46,6 +46,6 @@ void __attribute__((__noreturn__)) exec_shell(void)
arg0[0] = '-';
strcpy(arg0 + 1, shell_basename);
- execl(shell, arg0, NULL);
+ execl(shell, arg0, (char *)NULL);
errexec(shell);
}