summaryrefslogtreecommitdiffstats
path: root/hunt/huntd/talk_ctl.h
diff options
context:
space:
mode:
Diffstat (limited to 'hunt/huntd/talk_ctl.h')
-rw-r--r--hunt/huntd/talk_ctl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hunt/huntd/talk_ctl.h b/hunt/huntd/talk_ctl.h
index 59071ec3..f8081b83 100644
--- a/hunt/huntd/talk_ctl.h
+++ b/hunt/huntd/talk_ctl.h
@@ -74,7 +74,7 @@ extern CTL_MSG msg;
#ifdef LOG
#define p_error(str) syslog(LOG_WARNING, "faketalk %s: %m", str)
#else
-#define p_error(str) perror(str)
+#define p_error(str) warn(str)
#endif
void ctl_transact __P((struct in_addr, CTL_MSG, int, CTL_RESPONSE *));