diff options
author | Mike Frysinger <vapier@gentoo.org> | 2015-07-13 04:59:13 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2015-07-13 04:59:13 -0400 |
commit | 9daf7217a29e8542ad80672a3b82ae1b8c497321 (patch) | |
tree | 4604bbfc5b14b82d1cb3a0b07d21922cd907c470 /scanmacho.c | |
parent | scanelf: include filename/details in all ar related messages (diff) | |
download | pax-utils-9daf7217a29e8542ad80672a3b82ae1b8c497321.tar.gz pax-utils-9daf7217a29e8542ad80672a3b82ae1b8c497321.tar.bz2 pax-utils-9daf7217a29e8542ad80672a3b82ae1b8c497321.zip |
scanelf: do not warn about invalid archive entries by defaultv1.0.4
It's not uncommon for embedded toolchains or random targets to create
their own spin on the archive format. Rather than complain about all
of these by default, put it behind the -v flag. It's not like people
can do anything about this normally anyways.
URL: https://bugs.gentoo.org/428464
Diffstat (limited to 'scanmacho.c')
-rw-r--r-- | scanmacho.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scanmacho.c b/scanmacho.c index a36aed4..f8c4d89 100644 --- a/scanmacho.c +++ b/scanmacho.c @@ -383,7 +383,7 @@ static int scanmacho_archive(const char *filename, int fd, size_t len) fatobj *fobj; fatobj *walk; - ar = ar_open_fd(filename, fd); + ar = ar_open_fd(filename, fd, be_verbose); if (ar == NULL) return 1; |