Skip to content

Commit 853c8c7

Browse files
committed
Factor out system call names from error messages
One more that ought to have been part of 82c3cd9.
1 parent 205f466 commit 853c8c7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/interfaces/libpq/fe-connect.c

+2-1
Original file line numberDiff line numberDiff line change
@@ -1988,7 +1988,8 @@ setKeepalivesWin32(PGconn *conn)
19881988
!= 0)
19891989
{
19901990
appendPQExpBuffer(&conn->errorMessage,
1991-
libpq_gettext("WSAIoctl(SIO_KEEPALIVE_VALS) failed: %d\n"),
1991+
libpq_gettext("%s(%s) failed: error code %d\n"),
1992+
"WSAIoctl", "SIO_KEEPALIVE_VALS",
19921993
WSAGetLastError());
19931994
return 0;
19941995
}

0 commit comments

Comments
 (0)