aboutsummaryrefslogtreecommitdiff
path: root/archival
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2013-01-22 10:13:52 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2013-01-22 10:13:52 +0100
commit778794d1dd99f29d099eb80ae2750381bc5e0059 (patch)
tree8c7b648fd7c5995afca509d0a23f7124d21c3daa /archival
parent6aab061d2d6243505f7c21c7a92dcebc3922784c (diff)
downloadbusybox-778794d1dd99f29d099eb80ae2750381bc5e0059.tar.gz
*: reuse more strings
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'archival')
-rw-r--r--archival/unzip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/archival/unzip.c b/archival/unzip.c
index 046027cc6..83bf8f6d6 100644
--- a/archival/unzip.c
+++ b/archival/unzip.c
@@ -626,7 +626,7 @@ int unzip_main(int argc, char **argv)
printf("replace %s? [y]es, [n]o, [A]ll, [N]one, [r]ename: ", dst_fn);
fflush_all();
if (!fgets(key_buf, sizeof(key_buf), stdin)) {
- bb_perror_msg_and_die("can't read input");
+ bb_perror_msg_and_die("can't read standard input");
}
i = key_buf[0];
}
@@ -669,7 +669,7 @@ int unzip_main(int argc, char **argv)
/* Prompt for new name */
printf("new name: ");
if (!fgets(key_buf, sizeof(key_buf), stdin)) {
- bb_perror_msg_and_die("can't read input");
+ bb_perror_msg_and_die("can't read standard input");
}
free(dst_fn);
dst_fn = xstrdup(key_buf);