From ef009034463e52bba6504830f231cac77ae6bb56 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Fri, 7 Mar 2008 04:03:58 +0000 Subject: Don't include errno in warning --- daemon/poll-engine.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/daemon/poll-engine.c b/daemon/poll-engine.c index 0d0f934..db6074a 100644 --- a/daemon/poll-engine.c +++ b/daemon/poll-engine.c @@ -304,8 +304,8 @@ query_response (int request, int code, struct snmp_value *value, void *arg) */ } else if (!found) { item->query_last = 0; - log_warn ("couldn't find match for query value: %s", - item->query_match ? item->query_match : ""); + log_warnx ("couldn't find match for query value: %s", + item->query_match ? item->query_match : ""); complete_request (item, SNMP_ERR_NOSUCHNAME); -- cgit v1.2.3