From aaf08b7fbfb195c27b1e521a6a3e56fbde26bb01 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Thu, 11 Mar 2010 15:52:54 +0100 Subject: [PATCH] libblkid: remove "0x" prefix from DRBD UUID Signed-off-by: Karel Zak --- shlibs/blkid/src/superblocks/drbd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shlibs/blkid/src/superblocks/drbd.c b/shlibs/blkid/src/superblocks/drbd.c index a56486e9..5adcac7b 100644 --- a/shlibs/blkid/src/superblocks/drbd.c +++ b/shlibs/blkid/src/superblocks/drbd.c @@ -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"); -- 2.39.5