diff options
Diffstat (limited to 'archival')
-rw-r--r-- | archival/tar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/archival/tar.c b/archival/tar.c index ca59643e5..6c15f65c9 100644 --- a/archival/tar.c +++ b/archival/tar.c | |||
@@ -504,7 +504,7 @@ static int writeTarFile(const int tar_fd, const int verboseFlag, | |||
504 | int gzipDataPipe[2] = { -1, -1 }; | 504 | int gzipDataPipe[2] = { -1, -1 }; |
505 | int gzipStatusPipe[2] = { -1, -1 }; | 505 | int gzipStatusPipe[2] = { -1, -1 }; |
506 | volatile int vfork_exec_errno = 0; | 506 | volatile int vfork_exec_errno = 0; |
507 | char *zip_exec = (gzip == 1) ? "gzip" : "bzip2"; | 507 | const char *zip_exec = (gzip == 1) ? "gzip" : "bzip2"; |
508 | 508 | ||
509 | if (pipe(gzipDataPipe) < 0 || pipe(gzipStatusPipe) < 0) | 509 | if (pipe(gzipDataPipe) < 0 || pipe(gzipStatusPipe) < 0) |
510 | bb_perror_msg_and_die("pipe"); | 510 | bb_perror_msg_and_die("pipe"); |