From: Karel Zak Date: Thu, 22 Jan 2009 00:18:13 +0000 (+0100) Subject: blkid: remove unnecessary debug message X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5bf9a2b1399e5d9fc5fe3fe7ed3018225b313efd;p=util-linux blkid: remove unnecessary debug message Signed-off-by: Karel Zak --- diff --git a/libs/blkid/src/probers/lvm.c b/libs/blkid/src/probers/lvm.c index d2f143dc..120250c9 100644 --- a/libs/blkid/src/probers/lvm.c +++ b/libs/blkid/src/probers/lvm.c @@ -73,12 +73,8 @@ static int probe_lvm2(blkid_probe pr, const struct blkid_idmag *mag) return 1; } - if (le64_to_cpu(label->sector_xl) != (unsigned) sector) { - DBG(DEBUG_PROBE, - printf("LVM2: label for sector %llu found at sector %d\n", - le64_to_cpu(label->sector_xl), sector)); + if (le64_to_cpu(label->sector_xl) != (unsigned) sector) return 1; - } if (lvm2_calc_crc(&label->offset_xl, LVM2_LABEL_SIZE - ((char *) &label->offset_xl - (char *) label)) !=