aboutsummaryrefslogtreecommitdiff
path: root/src/tar.c
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2004-09-08 11:45:24 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2004-09-08 11:45:24 +0000
commit1ee8f9a800c4da15b742c25c63869a113eb4d956 (patch)
tree2c3713dc79dd78265e208c92032e1de44996a74f /src/tar.c
parenta82938895699c38d94105f968e313236de402e7a (diff)
downloadcpio-1ee8f9a800c4da15b742c25c63869a113eb4d956.tar.gz
cpio-1ee8f9a800c4da15b742c25c63869a113eb4d956.tar.bz2
(read_in_tar_header): Use warn_junk_bytes()
Diffstat (limited to 'src/tar.c')
-rw-r--r--src/tar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tar.c b/src/tar.c
index 3912871..9a59b68 100644
--- a/src/tar.c
+++ b/src/tar.c
@@ -396,7 +396,7 @@ read_in_tar_header (struct new_cpio_header *file_hdr, int in_des)
break;
}
if (bytes_skipped > 0)
- error (0, 0, _("warning: skipped %ld bytes of junk"), bytes_skipped);
+ warn_junk_bytes (bytes_skipped);
}
/* Convert the string of octal digits S into a number and store

Return to:

Send suggestions and report system problems to the System administrator.