diff options
Diffstat (limited to 'libblkid/src/superblocks/squashfs.c')
-rw-r--r-- | libblkid/src/superblocks/squashfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libblkid/src/superblocks/squashfs.c b/libblkid/src/superblocks/squashfs.c index 45f102917..595c8e22e 100644 --- a/libblkid/src/superblocks/squashfs.c +++ b/libblkid/src/superblocks/squashfs.c @@ -34,7 +34,7 @@ static int probe_squashfs(blkid_probe pr, const struct blkid_idmag *mag) sq = blkid_probe_get_sb(pr, mag, struct sqsh_super_block); if (!sq) - return -1; + return errno ? -errno : 1; if (strcmp(mag->magic, "sqsh") == 0 || strcmp(mag->magic, "qshs") == 0) |