mirror of
https://git.savannah.gnu.org/git/tar.git
synced 2026-08-31 21:29:07 +00:00
* system.c (sys_spawn_shell): Cast trailing null to (char *).
This commit is contained in:
+1
-1
@@ -214,7 +214,7 @@ sys_spawn_shell ()
|
||||
child = xfork ();
|
||||
if (child == 0)
|
||||
{
|
||||
execlp (shell, "-sh", "-i", 0);
|
||||
execlp (shell, "-sh", "-i", (char *) 0);
|
||||
exec_fatal (shell);
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user