summaryrefslogtreecommitdiff
path: root/bitmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'bitmap.c')
-rw-r--r--bitmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitmap.c b/bitmap.c
index 103706be..c27688c5 100644
--- 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;
}