summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2011-06-09 13:00:46 +1000
committerNeilBrown <neilb@suse.de>2011-06-09 13:00:46 +1000
commitc071a1cd8d2004839837bdf6521cb4e1e35c45ce (patch)
treef9efb8f2df777e9993f9d237a45bd955b5857cc2
parent9894ec0d64a9faab719d016bbbf5fbc842757df6 (diff)
downloadmdadm-c071a1cd8d2004839837bdf6521cb4e1e35c45ce.tar.gz
restripe: fix compile error in stand-alone program.
Signed-off-by: NeilBrown <neilb@suse.de>
-rw-r--r--restripe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/restripe.c b/restripe.c
index 1c42b60..0c8ac08 100644
--- a/restripe.c
+++ b/restripe.c
@@ -967,7 +967,7 @@ main(int argc, char *argv[])
int rv = restore_stripes(fds, offsets,
raid_disks, chunk_size, level, layout,
storefd, 0ULL,
- start, length);
+ start, length, NULL);
if (rv != 0) {
fprintf(stderr,
"test_stripe: restore_stripes returned %d\n",