From: Thomas Weißschuh Date: Mon, 26 Dec 2022 23:07:54 +0000 (+0000) Subject: libblkid: sgi: use generic checksum handling X-Git-Tag: v2.39-rc1~353^2~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3957a745e7051cd2cf5259fdf4e7b19e81b9ddb4;p=thirdparty%2Futil-linux.git libblkid: sgi: use generic checksum handling --- diff --git a/libblkid/src/partitions/sgi.c b/libblkid/src/partitions/sgi.c index 99c0bf1c73..d4f81bbddf 100644 --- a/libblkid/src/partitions/sgi.c +++ b/libblkid/src/partitions/sgi.c @@ -31,7 +31,7 @@ static int probe_sgi_pt(blkid_probe pr, goto nothing; } - if (sgi_pt_checksum(l)) { + if (!blkid_probe_verify_csum(pr, sgi_pt_checksum(l), 0)) { DBG(LOWPROBE, ul_debug( "detected corrupted sgi disk label -- ignore")); goto nothing;