summaryrefslogtreecommitdiff
path: root/restripe.c
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 /restripe.c
parent9894ec0d64a9faab719d016bbbf5fbc842757df6 (diff)
restripe: fix compile error in stand-alone program.
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'restripe.c')
-rw-r--r--restripe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/restripe.c b/restripe.c
index 1c42b603..0c8ac08a 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",