summaryrefslogtreecommitdiffstats
path: root/shlibs/blkid/src/superblocks/drbd.c
diff options
context:
space:
mode:
authorKarel Zak2010-03-11 15:52:54 +0100
committerKarel Zak2010-03-11 15:52:54 +0100
commit594c3d1ba45cee79fffde3a42d7c8b84d5b7292f (patch)
tree13748942f134192eba3452f2ddaad71237196297 /shlibs/blkid/src/superblocks/drbd.c
parentlibblkid: improve ZFS detection and add LABEL and UUID extraction (diff)
downloadkernel-qcow2-util-linux-594c3d1ba45cee79fffde3a42d7c8b84d5b7292f.tar.gz
kernel-qcow2-util-linux-594c3d1ba45cee79fffde3a42d7c8b84d5b7292f.tar.xz
kernel-qcow2-util-linux-594c3d1ba45cee79fffde3a42d7c8b84d5b7292f.zip
libblkid: remove "0x" prefix from DRBD UUID
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'shlibs/blkid/src/superblocks/drbd.c')
-rw-r--r--shlibs/blkid/src/superblocks/drbd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shlibs/blkid/src/superblocks/drbd.c b/shlibs/blkid/src/superblocks/drbd.c
index a56486e97..5adcac7b9 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");