diff options
author | ewt <devnull@localhost> | 1997-08-21 01:20:16 +0000 |
---|---|---|
committer | ewt <devnull@localhost> | 1997-08-21 01:20:16 +0000 |
commit | b782a7d4aa0c7273ebade951d8292a5584a80114 (patch) | |
tree | 01276fda8bcc91a1ed7e40acd2660ead9eef53f6 /rpm2cpio.c | |
parent | a50bad6f038dd3965a7702ebeda77de79ed74bbe (diff) | |
download | librpm-tizen-b782a7d4aa0c7273ebade951d8292a5584a80114.tar.gz librpm-tizen-b782a7d4aa0c7273ebade951d8292a5584a80114.tar.bz2 librpm-tizen-b782a7d4aa0c7273ebade951d8292a5584a80114.zip |
1) rpm2cpio didn't handle zlib errors properly
2) query formats could yield (none)\n instead of just (none)
3) queries of fssizes w/o fsnames went bonkers
CVS patchset: 1787
CVS date: 1997/08/21 01:20:16
Diffstat (limited to 'rpm2cpio.c')
-rw-r--r-- | rpm2cpio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rpm2cpio.c b/rpm2cpio.c index a5ba3fef4..67b6c2295 100644 --- a/rpm2cpio.c +++ b/rpm2cpio.c @@ -59,7 +59,7 @@ int main(int argc, char **argv) gzclose(stream); return 1; } - fprintf (stderr, "rpm2cpio: zlib: %s error\n", zlib_err [-zerror]); + fprintf (stderr, "rpm2cpio: zlib: %s error\n", zlib_err [-zerror - 1]); } gzclose(stream); |