summaryrefslogtreecommitdiffstats
path: root/tests/disks/test-max-disks.pl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/disks/test-max-disks.pl')
-rwxr-xr-xtests/disks/test-max-disks.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/disks/test-max-disks.pl b/tests/disks/test-max-disks.pl
index a0bba7f5..70624342 100755
--- a/tests/disks/test-max-disks.pl
+++ b/tests/disks/test-max-disks.pl
@@ -40,7 +40,7 @@ for ($i = 0; $i < $max_disks; ++$i) {
truncate FILE, 1024*1024 or die "$name: truncate: $!";
close FILE or die "$name: $!";
- $g->add_drive_opts ($name, format => "raw");
+ $g->add_drive ($name, format => "raw");
}
$g->launch ();