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:
2
nmap.cc
2
nmap.cc
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user