Fix LOG_ERROR mistake
authorThomas Berezansky <tsbere@mvlc.org>
Thu, 23 Jan 2014 17:06:27 +0000 (12:06 -0500)
committerThomas Berezansky <tsbere@mvlc.org>
Mon, 24 Mar 2014 20:12:52 +0000 (16:12 -0400)
LOG_ERR is correct, LOG_ERROR faults due to bad log type.

Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Open-ILS/src/perlmods/lib/OpenILS/SIP/Patron.pm

index 4ed79c7..62ec4ea 100644 (file)
@@ -36,7 +36,7 @@ sub new {
     my %args = @_;
 
     if ($key ne 'usr' and $key ne 'barcode') {
-        syslog("LOG_ERROR", "Patron (card) lookup requested by illegeal key '$key'");
+        syslog("LOG_ERR", "Patron (card) lookup requested by illegeal key '$key'");
         return undef;
     }