summaryrefslogtreecommitdiff
path: root/lib/warnings.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/warnings.pm')
-rw-r--r--lib/warnings.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/warnings.pm b/lib/warnings.pm
index 2bf29ced5f..6b46e35729 100644
--- a/lib/warnings.pm
+++ b/lib/warnings.pm
@@ -314,7 +314,7 @@ sub unimport {
$mask |= $Bits{'all'} ;
$mask |= $DeadBits{'all'} if vec($mask, $Offsets{'all'}+1, 1);
}
- ${^WARNING_BITS} = $mask & ~ (bits(@_ ? @_ : 'all') | $All) ;
+ ${^WARNING_BITS} = $mask & ~ (bits('FATAL' => (@_ ? @_ : 'all')) | $All) ;
}
sub __chk