]> err.no Git - util-linux/commitdiff
blkid: remove unnecessary debug message
authorKarel Zak <kzak@redhat.com>
Thu, 22 Jan 2009 00:18:13 +0000 (01:18 +0100)
committerKarel Zak <kzak@redhat.com>
Wed, 11 Feb 2009 22:35:23 +0000 (23:35 +0100)
Signed-off-by: Karel Zak <kzak@redhat.com>
libs/blkid/src/probers/lvm.c

index d2f143dc48e104536b8298212f700a9e22b3fa9e..120250c9a534200b0000d2418fe0bfba3d98113b 100644 (file)
@@ -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)) !=