diff options
author | Karel Zak | 2010-03-11 15:52:54 +0100 |
---|---|---|
committer | Karel Zak | 2010-03-11 15:52:54 +0100 |
commit | 594c3d1ba45cee79fffde3a42d7c8b84d5b7292f (patch) | |
tree | 13748942f134192eba3452f2ddaad71237196297 /shlibs/blkid/src/superblocks/drbd.c | |
parent | libblkid: improve ZFS detection and add LABEL and UUID extraction (diff) | |
download | kernel-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.c | 2 |
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"); |