diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-09-07 20:19:05 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-09-07 20:40:07 +0200 |
commit | 60064dd0412a149fe00cfc4e2f2361c22656db57 (patch) | |
tree | f4a2aaed857aeca621ee96e46e23858d4025fcf8 /lib/sqfs/process_block.c | |
parent | e71c56420a8fc3dc7e36eb059304a362b47a1c15 (diff) |
Remove printing to stderr in libsquashfs with returning error numbers
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/sqfs/process_block.c')
-rw-r--r-- | lib/sqfs/process_block.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqfs/process_block.c b/lib/sqfs/process_block.c index 2658ee7..2c1395f 100644 --- a/lib/sqfs/process_block.c +++ b/lib/sqfs/process_block.c @@ -27,7 +27,7 @@ int sqfs_block_process(sqfs_block_t *block, sqfs_compressor_t *cmp, scratch, scratch_size); if (ret < 0) - return -1; + return ret; if (ret > 0) { memcpy(block->data, scratch, ret); |