# HG changeset patch # User Matti Hamalainen # Date 1652349612 -10800 # Node ID b74c3b9e2339c4fb31dc7b7f184146cc1fdfb5bc # Parent 59b819986fd0bcc737016f004fb7e571998d5729 Fix a typo. diff -r 59b819986fd0 -r b74c3b9e2339 magestats.pl --- a/magestats.pl Mon Mar 30 10:59:28 2020 +0300 +++ b/magestats.pl Thu May 12 13:00:12 2022 +0300 @@ -673,7 +673,7 @@ my $gd = $graph->plot(\@data) or mlog(0, "Error creating graph ($type): ".$graph->error); if ($gd) { - open(IMG, ">", $opt_prefix."_".$type.".".$opt_imgfmt) or die("Error openiong file ".$!."\n"); + open(IMG, ">", $opt_prefix."_".$type.".".$opt_imgfmt) or die("Error opening file ".$!."\n"); binmode IMG; print IMG $gd->gif if ($opt_imgfmt eq "gif"); print IMG $gd->png if ($opt_imgfmt eq "png");