summaryrefslogtreecommitdiffstats
path: root/src/utils/lib/exec_shell.c
diff options
context:
space:
mode:
authorManuel Bentele2020-12-02 13:08:58 +0100
committerManuel Bentele2020-12-02 13:08:58 +0100
commit9fc030ed9bffec9f9715595dd5a205a353912d3c (patch)
tree8137142e94abf7cd4eefd3b591c487d034b57e50 /src/utils/lib/exec_shell.c
parentSetup xloop device with XLOOP_CONFIGURE ioctl call (diff)
downloadxloop-9fc030ed9bffec9f9715595dd5a205a353912d3c.tar.gz
xloop-9fc030ed9bffec9f9715595dd5a205a353912d3c.tar.xz
xloop-9fc030ed9bffec9f9715595dd5a205a353912d3c.zip
Update xlosetup's 'lib' and 'libsmartcol' from util-linux 2.36.1
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);
}