mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 14:49:29 +00:00
use __func__, and fix space in output
This commit is contained in:
parent
a4d9644b19
commit
9f979c6da8
1 changed files with 1 additions and 1 deletions
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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue