summaryrefslogtreecommitdiffstats
path: root/drakwizard.pl
diff options
context:
space:
mode:
Diffstat (limited to 'drakwizard.pl')
-rwxr-xr-xdrakwizard.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/drakwizard.pl b/drakwizard.pl
index 890a9489..049cfcb4 100755
--- a/drakwizard.pl
+++ b/drakwizard.pl
@@ -91,8 +91,8 @@ if ($err) {
$::in = $in;
if ($wiz->{o}{use_new_data_structure}) {
require wizards;
- my $wizard = wizards->new;
- $wizard->safe_process($wiz->{o}, $in);
+ my $wizard = wizards->new($wiz->{o});
+ $wizard->safe_process($in);
} else {
wizard($wiz->{o});
}