diff options
author | Alasdair Kergon <agk@redhat.com> | 2006-11-30 23:11:42 +0000 |
---|---|---|
committer | Alasdair Kergon <agk@redhat.com> | 2006-11-30 23:11:42 +0000 |
commit | 4dc0ec2253482a334117b90f4c714a38d372c985 (patch) | |
tree | abb367ca7f94f87e816f902887ac9281dc89655f /lib/format1/lvm1-label.c | |
parent | 6c48fe74331a262d7eb1be0c2027b281703e148d (diff) | |
download | lvm2-4dc0ec2253482a334117b90f4c714a38d372c985.tar.gz lvm2-4dc0ec2253482a334117b90f4c714a38d372c985.tar.xz lvm2-4dc0ec2253482a334117b90f4c714a38d372c985.zip |
Adjust some alignments for ia64 and sparc.
(Some of the changes are probably unnecessary.)
Diffstat (limited to 'lib/format1/lvm1-label.c')
-rw-r--r-- | lib/format1/lvm1-label.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/format1/lvm1-label.c b/lib/format1/lvm1-label.c index 320651c5..9bff0279 100644 --- a/lib/format1/lvm1-label.c +++ b/lib/format1/lvm1-label.c @@ -30,7 +30,7 @@ static void _not_supported(const char *op) op); } -static int _lvm1_can_handle(struct labeller *l, char *buf, uint64_t sector) +static int _lvm1_can_handle(struct labeller *l, void *buf, uint64_t sector) { struct pv_disk *pvd = (struct pv_disk *) buf; uint32_t version; @@ -48,13 +48,13 @@ static int _lvm1_can_handle(struct labeller *l, char *buf, uint64_t sector) return 0; } -static int _lvm1_write(struct label *label, char *buf) +static int _lvm1_write(struct label *label, void *buf) { _not_supported("write"); return 0; } -static int _lvm1_read(struct labeller *l, struct device *dev, char *buf, +static int _lvm1_read(struct labeller *l, struct device *dev, void *buf, struct label **label) { struct pv_disk *pvd = (struct pv_disk *) buf; |