]> git.ipfire.org Git - thirdparty/util-linux.git/commit
blkzone: fix report zones sector offset check
authorMasato Suzuki <masato.suzuki@wdc.com>
Tue, 23 Oct 2018 09:31:35 +0000 (18:31 +0900)
committerKarel Zak <kzak@redhat.com>
Tue, 23 Oct 2018 09:49:41 +0000 (11:49 +0200)
commit8a7f4b5bfe35ffc5f32cea67335d8265f77a4697
tree23a83ce530815c00bf3c69e27eff8224feff6795
parent8b58ffddf44ab020fa61a9df202358c6db485b5f
blkzone: fix report zones sector offset check

To catch an offset error, an offset should be begger than or equal to
a device size in the condition.

Signed-off-by: Masato Suzuki <masato.suzuki@wdc.com>
sys-utils/blkzone.c