summaryrefslogtreecommitdiff
path: root/extras/volume_id/lib/ocfs.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2007-05-04 16:53:19 +0200
committerKay Sievers <kay.sievers@vrfy.org>2007-05-04 16:53:19 +0200
commit444f07fea49bc40207df5e7910907492529b9bce (patch)
treec54872eaf90a67929db5e87c62938198948b32a3 /extras/volume_id/lib/ocfs.c
parentee466b321e5f4bb9f587f65ed05c87a51bc6fef2 (diff)
volume_id: add internal UUID_STRING
Diffstat (limited to 'extras/volume_id/lib/ocfs.c')
-rw-r--r--extras/volume_id/lib/ocfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/extras/volume_id/lib/ocfs.c b/extras/volume_id/lib/ocfs.c
index 349527b7e0..9f251f1794 100644
--- a/extras/volume_id/lib/ocfs.c
+++ b/extras/volume_id/lib/ocfs.c
@@ -156,7 +156,7 @@ int volume_id_probe_ocfs1(struct volume_id *id, uint64_t off, uint64_t size)
volume_id_set_label_string(id, osl->label, 64);
}
if (osl->vol_id_len == 16)
- volume_id_set_uuid(id, osl->vol_id, UUID_DCE);
+ volume_id_set_uuid(id, osl->vol_id, 0, UUID_DCE);
id->type = "ocfs";
return 0;
}
@@ -184,7 +184,7 @@ int volume_id_probe_ocfs2(struct volume_id *id, uint64_t off, uint64_t size)
volume_id_set_usage(id, VOLUME_ID_FILESYSTEM);
volume_id_set_label_raw(id, os->s_label, 64);
volume_id_set_label_string(id, os->s_label, 64);
- volume_id_set_uuid(id, os->s_uuid, UUID_DCE);
+ volume_id_set_uuid(id, os->s_uuid, 0, UUID_DCE);
snprintf(id->type_version, sizeof(id->type_version)-1,
"%u.%u", os->s_major_rev_level, os->s_minor_rev_level);
id->type = "ocfs2";