From 00c616df1fcdefe33be74ec3f41f39b0c3852e5c Mon Sep 17 00:00:00 2001 From: lukem Date: Sat, 11 Oct 1997 08:13:40 +0000 Subject: use err/warn instead of perror --- hunt/huntd/talk_ctl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hunt/huntd/talk_ctl.h') 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 *)); -- cgit v1.2.3