aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.c
diff options
context:
space:
mode:
Diffstat (limited to 'fetchmail.c')
-rw-r--r--fetchmail.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fetchmail.c b/fetchmail.c
index f0fd8997..7284477c 100644
--- a/fetchmail.c
+++ b/fetchmail.c
@@ -454,11 +454,11 @@ int main (int argc, char **argv)
if (run.use_syslog)
{
openlog(program_name, LOG_PID, LOG_MAIL);
- error_init(-1);
+ report_init(-1);
}
else
#endif
- error_init((run.poll_interval == 0 || nodetach) && !run.logfile);
+ report_init((run.poll_interval == 0 || nodetach) && !run.logfile);
if (run.poll_interval)
{