]> git.ipfire.org Git - thirdparty/util-linux.git/blobdiff - libblkid/src/superblocks/sysv.c
libblkid: constify return values of blkid_probe_get_sb
[thirdparty/util-linux.git] / libblkid / src / superblocks / sysv.c
index 421660e556a2b7c129ab57c8a731c096ababa4de..a9085c44cc8cef488a2dae4d56b8a8e190353c60 100644 (file)
@@ -76,7 +76,7 @@ struct sysv_super_block
 
 static int probe_xenix(blkid_probe pr, const struct blkid_idmag *mag)
 {
-       struct xenix_super_block *sb;
+       const struct xenix_super_block *sb;
 
        sb = blkid_probe_get_sb(pr, mag, struct xenix_super_block);
        if (!sb)