summaryrefslogtreecommitdiffstats
path: root/super-intel.c
diff options
context:
space:
mode:
Diffstat (limited to 'super-intel.c')
-rw-r--r--super-intel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/super-intel.c b/super-intel.c
index de84f27..643420d 100644
--- a/super-intel.c
+++ b/super-intel.c
@@ -4041,7 +4041,7 @@ static void imsm_prepare_update(struct supertype *st,
free(super->next_buf);
super->next_len = buf_len;
- if (posix_memalign(&super->next_buf, buf_len, 512) != 0)
+ if (posix_memalign(&super->next_buf, 512, buf_len) != 0)
super->next_buf = NULL;
}
}