]> git.ipfire.org Git - thirdparty/mdadm.git/commitdiff
restripe: fix compile error in stand-alone program.
authorNeilBrown <neilb@suse.de>
Thu, 9 Jun 2011 03:00:46 +0000 (13:00 +1000)
committerNeilBrown <neilb@suse.de>
Thu, 9 Jun 2011 03:00:46 +0000 (13:00 +1000)
Signed-off-by: NeilBrown <neilb@suse.de>
restripe.c

index 1c42b603da70607f147d45c519627a4f4a88dbb2..0c8ac08a1c536bdb583b4d4172d3c5a615a5b5d7 100644 (file)
@@ -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",