aboutsummaryrefslogtreecommitdiff
path: root/archival
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-04-05 00:13:19 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-04-05 00:13:19 +0000
commit1a95e3960ca7dde16bda26ec9dad986199bae3c3 (patch)
tree3b4edb890cb31e6b50404fc9ce751eb7293a228d /archival
parent261f237024d9881e110f271fb575728f666b25b4 (diff)
downloadbusybox-1a95e3960ca7dde16bda26ec9dad986199bae3c3.tar.gz
cpio: typo fix in error message
Diffstat (limited to 'archival')
-rw-r--r--archival/cpio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/archival/cpio.c b/archival/cpio.c
index c17219832..dd9ed756c 100644
--- a/archival/cpio.c
+++ b/archival/cpio.c
@@ -172,7 +172,7 @@ static int cpio_o(void)
fflush(stdout);
/* We must abort if file got shorter too! */
if (bb_copyfd_size(fd, STDOUT_FILENO, st.st_size) != st.st_size) {
- bb_error_msg_and_die("I/O error, of file '%s' was truncated", name);
+ bb_error_msg_and_die("I/O error or file '%s' was truncated", name);
}
bytes += st.st_size;
close(fd);