summaryrefslogtreecommitdiffstats
path: root/sys-utils/swapon.c
diff options
context:
space:
mode:
authorSami Kerola2017-05-27 22:18:57 +0200
committerKarel Zak2017-06-14 12:18:27 +0200
commite3e0054f5a2daa8ef8b8fd9b04bc9c0dbddec740 (patch)
tree3d8233b5dd3654c8545f8c8b0bc9bafa6d194eca /sys-utils/swapon.c
parentuuidgen: slice up the usage text (diff)
downloadkernel-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 'sys-utils/swapon.c')
0 files changed, 0 insertions, 0 deletions