cpio: typo fix in error message
This commit is contained in:
parent
261f237024
commit
1a95e3960c
@ -172,7 +172,7 @@ static int cpio_o(void)
|
|||||||
fflush(stdout);
|
fflush(stdout);
|
||||||
/* We must abort if file got shorter too! */
|
/* We must abort if file got shorter too! */
|
||||||
if (bb_copyfd_size(fd, STDOUT_FILENO, st.st_size) != st.st_size) {
|
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;
|
bytes += st.st_size;
|
||||||
close(fd);
|
close(fd);
|
||||||
|
Loading…
Reference in New Issue
Block a user