mirror of
https://github.com/postgres/postgres.git
synced 2025-07-07 00:36:50 +03:00
Use correct format placeholder for WSAGetLastError()
Some code thought this was unsigned, but it's signed int.
This commit is contained in:
@ -1985,7 +1985,7 @@ setKeepalivesWin32(PGconn *conn)
|
||||
!= 0)
|
||||
{
|
||||
appendPQExpBuffer(&conn->errorMessage,
|
||||
libpq_gettext("WSAIoctl(SIO_KEEPALIVE_VALS) failed: %ui\n"),
|
||||
libpq_gettext("WSAIoctl(SIO_KEEPALIVE_VALS) failed: %d\n"),
|
||||
WSAGetLastError());
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user