mirror of
https://github.com/nmap/nmap.git
synced 2025-12-20 14:39:02 +00:00
fixed format string!
This commit is contained in:
@@ -88,7 +88,7 @@ static int nsock_make_socket(mspool *ms, msiod *iod, int family, int type, int p
|
|||||||
|
|
||||||
rc = setsockopt(iod->sd, SOL_SOCKET, SO_REUSEADDR, (const char *)&one, sizeof(one));
|
rc = setsockopt(iod->sd, SOL_SOCKET, SO_REUSEADDR, (const char *)&one, sizeof(one));
|
||||||
if (rc == -1)
|
if (rc == -1)
|
||||||
nsock_log_error(ms, "Setting of SO_REUSEADDR failed (#%d): %s", iod->id,
|
nsock_log_error(ms, "Setting of SO_REUSEADDR failed (#%li): %s", iod->id,
|
||||||
strerror(errno));
|
strerror(errno));
|
||||||
|
|
||||||
rc = bind(iod->sd, (struct sockaddr *)&iod->local, (int) iod->locallen);
|
rc = bind(iod->sd, (struct sockaddr *)&iod->local, (int) iod->locallen);
|
||||||
|
|||||||
Reference in New Issue
Block a user