diff options
author | Sami Kerola | 2017-05-27 22:18:57 +0200 |
---|---|---|
committer | Karel Zak | 2017-06-14 12:18:27 +0200 |
commit | e3e0054f5a2daa8ef8b8fd9b04bc9c0dbddec740 (patch) | |
tree | 3d8233b5dd3654c8545f8c8b0bc9bafa6d194eca /libmount/src/context_umount.c | |
parent | uuidgen: slice up the usage text (diff) | |
download | kernel-qcow2-util-linux-e3e0054f5a2daa8ef8b8fd9b04bc9c0dbddec740.tar.gz kernel-qcow2-util-linux-e3e0054f5a2daa8ef8b8fd9b04bc9c0dbddec740.tar.xz kernel-qcow2-util-linux-e3e0054f5a2daa8ef8b8fd9b04bc9c0dbddec740.zip |
isosize: avoid reading more data than what is needed
In same go fix error reporting when input file is not long enough.
$ touch empty
$ isosize empty
isosize: empty: might not be an ISO filesystem
isosize: read error on empty: Success
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'libmount/src/context_umount.c')
0 files changed, 0 insertions, 0 deletions