Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Munro2025-03-19 04:26:07 +0000
committerThomas Munro2025-03-19 04:26:16 +0000
commit0b53c08677a6515786bde9d4471b42ef7289759e (patch)
tree2e17b0cba5a14615bd0244b85d826c257e60389b /src/interfaces/libpq/fe-auth-oauth-curl.c
parent1cf4c56480f883bec50753e092da51ceaf3cea67 (diff)
Fix compiler warning for commit 434dbf69.
Reported-by: Tom Lane <tgl@sss.pgh.pa.us>
Diffstat (limited to 'src/interfaces/libpq/fe-auth-oauth-curl.c')
-rw-r--r--src/interfaces/libpq/fe-auth-oauth-curl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interfaces/libpq/fe-auth-oauth-curl.c b/src/interfaces/libpq/fe-auth-oauth-curl.c
index 2d6d4b1a123..3612819ae43 100644
--- a/src/interfaces/libpq/fe-auth-oauth-curl.c
+++ b/src/interfaces/libpq/fe-auth-oauth-curl.c
@@ -1389,7 +1389,7 @@ set_timer(struct async_ctx *actx, long timeout)
EV_SET(&ev, 1, EVFILT_TIMER, EV_DELETE, 0, 0, 0);
if (kevent(actx->timerfd, &ev, 1, NULL, 0, NULL) < 0 && errno != ENOENT)
{
- actx_error(actx, "deleting kqueue timer: %m", timeout);
+ actx_error(actx, "deleting kqueue timer: %m");
return false;
}