summaryrefslogtreecommitdiffstats
path: root/lib/uuid/uuid.h
diff options
context:
space:
mode:
authorAlasdair Kergon <agk@redhat.com>2005-04-06 13:47:41 +0000
committerAlasdair Kergon <agk@redhat.com>2005-04-06 13:47:41 +0000
commit1165258cda4f1f2ffe83cf8515ac9c10295b1ac0 (patch)
treeabbd60e4dcf2810563342bf7f61d4cf89d1216cb /lib/uuid/uuid.h
parent4a0623f9092c123d353a9bade87de1090ae7380d (diff)
downloadlvm2-1165258cda4f1f2ffe83cf8515ac9c10295b1ac0.tar.gz
lvm2-1165258cda4f1f2ffe83cf8515ac9c10295b1ac0.tar.xz
lvm2-1165258cda4f1f2ffe83cf8515ac9c10295b1ac0.zip
Alignment tidying.
Diffstat (limited to 'lib/uuid/uuid.h')
-rw-r--r--lib/uuid/uuid.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/uuid/uuid.h b/lib/uuid/uuid.h
index 2dc157fb..fcef414b 100644
--- a/lib/uuid/uuid.h
+++ b/lib/uuid/uuid.h
@@ -25,11 +25,11 @@ struct id {
/*
* Unique logical volume identifier
- * With format1 this is VG uuid + LV uuid + '\0'
+ * With format1 this is VG uuid + LV uuid + '\0' + padding
*/
union lvid {
struct id id[2];
- char s[2 * sizeof(struct id) + 1];
+ char s[2 * sizeof(struct id) + 1 + 7];
};
int lvid_from_lvnum(union lvid *lvid, struct id *vgid, uint32_t lv_num);