summaryrefslogtreecommitdiff
path: root/lib/syslog.pl
diff options
context:
space:
mode:
Diffstat (limited to 'lib/syslog.pl')
-rw-r--r--lib/syslog.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/syslog.pl b/lib/syslog.pl
index 614068e7fc..8807ef027d 100644
--- a/lib/syslog.pl
+++ b/lib/syslog.pl
@@ -140,7 +140,7 @@ sub main'syslog {
sub xlate {
local($name) = @_;
- $name =~ y/a-z/A-Z/;
+ $name = uc $name;
$name = "LOG_$name" unless $name =~ /^LOG_/;
$name = "syslog'$name";
eval(&$name) || -1;