diff --git a/perl/Amanda/Tapelist.swg b/perl/Amanda/Tapelist.swg index e846eb09b2..3bc55fb0a5 100644 --- a/perl/Amanda/Tapelist.swg +++ b/perl/Amanda/Tapelist.swg @@ -52,7 +52,7 @@ use Amanda::Debug qw(:logging); use Amanda::Config qw( config_dir_relative ); use File::Copy; use Fcntl qw(:flock); # import LOCK_* constants -use Amanda::Message qw( :severity ); +use Amanda::Message; ## package functions diff --git a/perl/Amanda/Taper/Scribe.pm b/perl/Amanda/Taper/Scribe.pm index d4338108df..db64f6da41 100644 --- a/perl/Amanda/Taper/Scribe.pm +++ b/perl/Amanda/Taper/Scribe.pm @@ -1084,7 +1084,7 @@ sub _xmsg_no_space { if ($chg->{'global_space'}) { $chg->inventory(inventory_cb => $steps->{'got_inventory'}); } else { - return $finished_cb(); + return $finished_cb->(); } };