1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-15 20:29:03 +00:00

use __func__, and fix space in output

This commit is contained in:
kris
2010-03-19 05:11:58 +00:00
parent a4d9644b19
commit 9f979c6da8

View File

@@ -2152,7 +2152,7 @@ void init_socket(int sd) {
res=bind(sd, (struct sockaddr*)&ss, sslen);
if (res<0)
{
error("init_socket: Problem binding source address (%s), errno :%d", inet_socktop(&ss), socket_errno());
error("%s: Problem binding source address (%s), errno: %d", __func__, inet_socktop(&ss), socket_errno());
perror("bind");
bind_failed=1;
}