]> err.no Git - util-linux/commitdiff
libblkid: remove "0x" prefix from DRBD UUID
authorKarel Zak <kzak@redhat.com>
Thu, 11 Mar 2010 14:52:54 +0000 (15:52 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 22 Mar 2010 08:13:48 +0000 (09:13 +0100)
Signed-off-by: Karel Zak <kzak@redhat.com>
shlibs/blkid/src/superblocks/drbd.c

index a56486e97984f37134b54a70056ef208ddc36067..5adcac7b92926a94ee4668768f2b07e87c2a8732 100644 (file)
@@ -90,7 +90,7 @@ static int probe_drbd(blkid_probe pr, const struct blkid_idmag *mag)
         */
        blkid_probe_sprintf_uuid(pr,
                (unsigned char *) &md->device_uuid, sizeof(md->device_uuid),
-               "0x%" PRIx64, be64_to_cpu(md->device_uuid));
+               "%" PRIx64, be64_to_cpu(md->device_uuid));
 
        blkid_probe_set_version(pr, "v08");