summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2012-04-12 18:06:25 -0400
committerjim-p <jimp@pfsense.org>2012-04-12 18:06:25 -0400
commit0d0cb04730eba406da9e2a063da636dd6d4f9208 (patch)
tree349ee4c6afe38d8d02702db01eb23947b00bbc00
parentd1edd7e5aec9f302f231474f89d95c88d5d11bb2 (diff)
downloadpfsense-0d0cb04730eba406da9e2a063da636dd6d4f9208.zip
pfsense-0d0cb04730eba406da9e2a063da636dd6d4f9208.tar.gz
Fix constant. LOG_ERROR should be LOG_ERR
-rw-r--r--etc/inc/util.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/util.inc b/etc/inc/util.inc
index aaa57c4..5a142db 100644
--- a/etc/inc/util.inc
+++ b/etc/inc/util.inc
@@ -913,7 +913,7 @@ function get_interface_list($mode = "active", $keyby = "physical", $vfaces = "")
function log_error($error) {
global $g;
$page = $_SERVER['SCRIPT_NAME'];
- syslog(LOG_ERROR, "$page: $error");
+ syslog(LOG_ERR, "$page: $error");
if ($g['debug'])
syslog(LOG_WARNING, var_dump(debug_backtrace()));
return;
OpenPOWER on IntegriCloud