diff options
author | Renato Botelho <renato.botelho@bluepex.com> | 2010-08-16 17:44:53 -0300 |
---|---|---|
committer | Renato Botelho <renato.botelho@bluepex.com> | 2010-08-16 17:44:53 -0300 |
commit | 62bf5cd09f322d3234674eaa51409abbefc617cb (patch) | |
tree | c7895dd17e6ce7e03f08f1ceefb3fcab6d8ef461 | |
parent | 487415e888a9c82484809a10de24f66447171c49 (diff) | |
download | pfsense-62bf5cd09f322d3234674eaa51409abbefc617cb.zip pfsense-62bf5cd09f322d3234674eaa51409abbefc617cb.tar.gz |
Fix some syntax errors
-rw-r--r-- | etc/inc/filter.inc | 4 | ||||
-rw-r--r-- | etc/inc/zeromq.inc | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc index 695f6f0..3182d9e 100644 --- a/etc/inc/filter.inc +++ b/etc/inc/filter.inc @@ -303,7 +303,7 @@ function filter_configure_sync() { if(is_array($line_split)) $line_error = sprintf(gettext("The line in question reads [%d]: %s"), $line_number, $line_split[$line_number-1]); if($line_error and $line_number) { - $error_msg = gettext("There were error(s) loading the rules: %s - %s"), $rules_error, $line_error); + $error_msg = sprintf(gettext("There were error(s) loading the rules: %s - %s"), $rules_error, $line_error); file_notice("filter_load", $error_msg, "Filter Reload", ""); log_error($error_msg); update_filter_reload_status($error_msg); @@ -2122,7 +2122,7 @@ EOD; /* this shouldnt ever happen but instead of breaking the clients ruleset * log an error. */ - log_error(sprintf(gettext("ERROR! PPTP enabled but could not resolve the %s"), \$pptpdtarget")); + log_error(gettext("ERROR! PPTP enabled but could not resolve the \$pptpdtarget")); } } diff --git a/etc/inc/zeromq.inc b/etc/inc/zeromq.inc index 27ffc4f..0e96aef 100644 --- a/etc/inc/zeromq.inc +++ b/etc/inc/zeromq.inc @@ -265,4 +265,4 @@ function get_notices_zeromq($raw_params) { return $response; } -?>
\ No newline at end of file +?> |