raid: Ensure example meets min align requirement

Change-Id: Ie9d367176046bb4919474981c84e957bed6c99d6
Signed-off-by: Greg Tucker <greg.b.tucker@intel.com>
This commit is contained in:
Greg Tucker
2018-03-06 13:39:24 -07:00
parent 5af4e4aa0a
commit 9e79faeeff

View File

@@ -42,7 +42,7 @@ int main(int argc, char *argv[])
printf("XOR example\n");
for (i = 0; i < TEST_SOURCES + 1; i++) {
void *buf;
if (posix_memalign(&buf, 16, TEST_LEN)) {
if (posix_memalign(&buf, 32, TEST_LEN)) {
printf("alloc error: Fail");
return 1;
}