summaryrefslogtreecommitdiff
path: root/archival
diff options
context:
space:
mode:
authorMatheus Izvekov2010-04-26 13:53:57 +0200
committerDenys Vlasenko2010-04-26 13:53:57 +0200
commit4640ccc39940a4842c62a9c1cf91f425b3f0bc99 (patch)
treed4f2fc3ad433a9991dea04964a801628263e3ac0 /archival
parent9138817a27068073a565d915d10301ca00e79659 (diff)
downloadbusybox-4640ccc39940a4842c62a9c1cf91f425b3f0bc99.zip
busybox-4640ccc39940a4842c62a9c1cf91f425b3f0bc99.tar.gz
cpio: "NNN blocks" should go to stderr
Signed-off-by: Matheus Izvekov <mizvekov@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
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 858e59b..2698f07 100644
--- a/archival/cpio.c
+++ b/archival/cpio.c
@@ -424,7 +424,7 @@ int cpio_main(int argc UNUSED_PARAM, char **argv)
if (archive_handle->cpio__blocks != (off_t)-1
&& !(opt & CPIO_OPT_QUIET)
) {
- printf("%"OFF_FMT"u blocks\n", archive_handle->cpio__blocks);
+ fprintf(stderr, "%"OFF_FMT"u blocks\n", archive_handle->cpio__blocks);
}
return EXIT_SUCCESS;