cpio: typo fix in error message
authorDenis Vlasenko <vda.linux@googlemail.com>
Sat, 5 Apr 2008 00:13:19 +0000 (00:13 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Sat, 5 Apr 2008 00:13:19 +0000 (00:13 -0000)
archival/cpio.c

index c17219832b93a16144828c1a7d8cf6a5dda91b4d..dd9ed756cc9a916a4cb6a68102d486f596b2130a 100644 (file)
@@ -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);