summaryrefslogtreecommitdiff
path: root/archival/tar.c
diff options
context:
space:
mode:
authorRich Felker2013-06-30 13:45:17 +0200
committerDenys Vlasenko2013-06-30 13:45:17 +0200
commit16614e9babf6b920587597f35c5b2122ac815e16 (patch)
tree5ef19080e90bd76b69617d7f72a08f42b4624f44 /archival/tar.c
parente9b3fcc3e457642788f7011fe9f7fe9917156fa4 (diff)
downloadbusybox-16614e9babf6b920587597f35c5b2122ac815e16.zip
busybox-16614e9babf6b920587597f35c5b2122ac815e16.tar.gz
*: change execl sentinels from NULL to (char*)0
Signed-off-by: Rich Felker <dalias@aerifal.cx> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'archival/tar.c')
-rw-r--r--archival/tar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/archival/tar.c b/archival/tar.c
index f46f7bb..c0ceff5 100644
--- a/archival/tar.c
+++ b/archival/tar.c
@@ -567,7 +567,7 @@ static void NOINLINE vfork_compressor(int tar_fd, int gzip)
xmove_fd(gzipDataPipe.rd, 0);
xmove_fd(tar_fd, 1);
/* exec gzip/bzip2 program/applet */
- BB_EXECLP(zip_exec, zip_exec, "-f", NULL);
+ BB_EXECLP(zip_exec, zip_exec, "-f", (char *)0);
vfork_exec_errno = errno;
_exit(EXIT_FAILURE);
}