summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/snmp-engine.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/snmp-engine.c b/common/snmp-engine.c
index 5078d39..f80da6a 100644
--- a/common/snmp-engine.c
+++ b/common/snmp-engine.c
@@ -1058,7 +1058,7 @@ snmp_engine_init (const char **bindaddrs, int retries)
}
if (bind (fd, ai->ai_addr, ai->ai_addrlen) < 0)
- err (1, "couldn't listen on port");
+ err (1, "couldn't listen on port '%s'", bindaddr);
if (server_watch (fd, SERVER_READ, request_response, NULL) == -1)
err (1, "couldn't watch port");