Fix a mismatch between format string and parameter.
This commit is contained in:
parent
62c5d9f366
commit
410617fe52
|
@ -2091,8 +2091,8 @@ static struct WIN_servent* __ws_getservbyport(int port, const char* proto, int d
|
||||||
else SetLastError(WSAENOBUFS);
|
else SetLastError(WSAENOBUFS);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
MESSAGE("service on port %d protocol %s not found; You might want to add "
|
MESSAGE("service on port %ul protocol %s not found; You might want to add "
|
||||||
"add this to /etc/services\n", ntohl(port),
|
"this to /etc/services\n", (unsigned long)ntohl(port),
|
||||||
proto ? debugstr_a(pwsi->buffer) : "*");
|
proto ? debugstr_a(pwsi->buffer) : "*");
|
||||||
SetLastError(WSANO_DATA);
|
SetLastError(WSANO_DATA);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue