]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - bitmap.c
Release 3.2.6 - stability release
[thirdparty/mdadm.git] / bitmap.c
index 103706bebf3be1ab278b6992f74b252ee808a71e..c27688c5815951bd5388cab80ad7d839c7e53866 100644 (file)
--- a/bitmap.c
+++ b/bitmap.c
@@ -132,7 +132,7 @@ bitmap_info_t *bitmap_fd_read(int fd, int brief)
        void *buf;
        unsigned int n, skip;
 
-       if (posix_memalign(&buf, 512, 8192) != 0) {
+       if (posix_memalign(&buf, 4096, 8192) != 0) {
                fprintf(stderr, Name ": failed to allocate 8192 bytes\n");
                return NULL;
        }