From 5bf9a2b1399e5d9fc5fe3fe7ed3018225b313efd Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Thu, 22 Jan 2009 01:18:13 +0100 Subject: [PATCH] blkid: remove unnecessary debug message Signed-off-by: Karel Zak --- libs/blkid/src/probers/lvm.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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)) != -- 2.39.5