From 2bcca4f2ec5fda5e64278dce8831475429a4b642 Mon Sep 17 00:00:00 2001 From: Andrea Mazzoleni Date: Tue, 10 Mar 2015 22:20:11 +0100 Subject: [PATCH] Fix some formatting issues --- raid/module.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/raid/module.c b/raid/module.c index 60a9092b..3b8d3997 100644 --- a/raid/module.c +++ b/raid/module.c @@ -165,9 +165,11 @@ static int raid_test_par(int nd, int np, size_t size, void **v, void **ref) raid_gen(nd, np, size, t); /* compare parity */ - for (i = 0; i < np; ++i) - if (memcmp(t[nd + i], ref[nd + i], size) != 0) + for (i = 0; i < np; ++i) { + if (memcmp(t[nd + i], ref[nd + i], size) != 0) { return -1; + } + } return 0; }