]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libblkid: correct the return values in squashfs probe
authorDavid Shea <dshea@redhat.com>
Mon, 23 Jun 2014 17:41:48 +0000 (13:41 -0400)
committerKarel Zak <kzak@redhat.com>
Tue, 24 Jun 2014 08:54:48 +0000 (10:54 +0200)
commitcbccd7a4f8ffcded136e83fb7c3aeedc393d312d
tree465e66465323ff1a1bf88b123913c90d5446f7f0
parent11712b6667225ef6fa6b64c1fe48ed5b501ad72e
libblkid: correct the return values in squashfs probe

Returning -1 can cause squashfs v3 detection to make v4 detection fail.

Signed-off-by: Karel Zak <kzak@redhat.com>
libblkid/src/superblocks/squashfs.c