diff options
author | Stef Walter <stef@memberwebs.com> | 2008-03-07 04:03:58 +0000 |
---|---|---|
committer | Stef Walter <stef@memberwebs.com> | 2008-03-07 04:03:58 +0000 |
commit | ef009034463e52bba6504830f231cac77ae6bb56 (patch) | |
tree | 2741442a86d68447ada2bc4eef5e3ea918f43d32 | |
parent | 4e9eba2399c5ea71732b58d282f440ecdebbf9e6 (diff) |
Don't include errno in warning
-rw-r--r-- | daemon/poll-engine.c | 4 |
1 files 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); |