summaryrefslogtreecommitdiff
path: root/archival
diff options
context:
space:
mode:
Diffstat (limited to 'archival')
-rw-r--r--archival/gunzip.c4
-rw-r--r--archival/uncompress.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/archival/gunzip.c b/archival/gunzip.c
index 7be94e1..a7f5ce4 100644
--- a/archival/gunzip.c
+++ b/archival/gunzip.c
@@ -48,8 +48,8 @@ int gunzip_main(int argc, char **argv)
do {
struct stat stat_buf;
- const char *old_path = argv[optind];
- const char *delete_path = NULL;
+ char *old_path = argv[optind];
+ char *delete_path = NULL;
char *new_path = NULL;
int src_fd;
int dst_fd;
diff --git a/archival/uncompress.c b/archival/uncompress.c
index 8c466eb..cbcbcef 100644
--- a/archival/uncompress.c
+++ b/archival/uncompress.c
@@ -19,8 +19,8 @@ int uncompress_main(int argc, char **argv)
flags = bb_getopt_ulflags(argc, argv, "cf");
while (optind < argc) {
- const char *compressed_file = argv[optind++];
- const char *delete_path = NULL;
+ char *compressed_file = argv[optind++];
+ char *delete_path = NULL;
char *uncompressed_file = NULL;
int src_fd;
int dst_fd;