summaryrefslogtreecommitdiffstats
path: root/super1.c
diff options
context:
space:
mode:
authorNeil Brown <neilb@suse.de>2006-05-26 07:12:48 +0000
committerNeil Brown <neilb@suse.de>2006-05-26 07:12:48 +0000
commit41a3b72a9ce75070eb614c42de6704fa61bb6086 (patch)
tree32bcc24716c9c69368966591b72dd2716b025934 /super1.c
parentd1f1011b94caa3506c63fb3d1d1a99dd282c7bc5 (diff)
downloadmdadm-41a3b72a9ce75070eb614c42de6704fa61bb6086.tar.gz
mdadm-41a3b72a9ce75070eb614c42de6704fa61bb6086.tar.xz
mdadm-41a3b72a9ce75070eb614c42de6704fa61bb6086.zip
Release 2.5mdadm-2.5
Signed-off-by: Neil Brown <neilb@suse.de>
Diffstat (limited to 'super1.c')
-rw-r--r--super1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/super1.c b/super1.c
index 9f07ddc..8f648f6 100644
--- a/super1.c
+++ b/super1.c
@@ -712,7 +712,7 @@ static int store_super1(struct supertype *st, int fd, void *sbv)
if (sb->feature_map & __cpu_to_le32(MD_FEATURE_BITMAP_OFFSET)) {
struct bitmap_super_s *bm = (struct bitmap_super_s*)
- ((char*)sb)+1024;
+ (((char*)sb)+1024);
if (__le32_to_cpu(bm->magic) == BITMAP_MAGIC) {
locate_bitmap1(st, fd, sbv);
write(fd, bm, sizeof(*bm));