From: Karel Zak Date: Thu, 11 Mar 2010 14:52:54 +0000 (+0100) Subject: libblkid: remove "0x" prefix from DRBD UUID X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=594c3d1ba45cee79fffde3a42d7c8b84d5b7292f;p=util-linux libblkid: remove "0x" prefix from DRBD UUID Signed-off-by: Karel Zak --- 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");