diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-07-06 15:58:39 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-07-06 15:58:39 +0000 |
commit | 8f525719cc6994dce4982eb836406b5717a47d75 (patch) | |
tree | 89d7563776a61ac7d4a77799dd326e7607292232 /etc/inc/system.inc | |
parent | bca8e0eca2a4f243b2a67a424bfff7fc81634220 (diff) | |
download | pfsense-8f525719cc6994dce4982eb836406b5717a47d75.zip pfsense-8f525719cc6994dce4982eb836406b5717a47d75.tar.gz |
Do not print errors to console, output them to syslog.
Diffstat (limited to 'etc/inc/system.inc')
-rw-r--r-- | etc/inc/system.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/system.inc b/etc/inc/system.inc index 2f7ae88..e3f2189 100644 --- a/etc/inc/system.inc +++ b/etc/inc/system.inc @@ -119,7 +119,7 @@ function system_hosts_generate() { $fd = fopen("{$g['varetc_path']}/hosts", "w"); if (!$fd) { - printf("Error: cannot open hosts file in system_hosts_generate().\n"); + log_error("Error: cannot open hosts file in system_hosts_generate().\n"); return 1; } |