From: Thomas Munro Date: Wed, 19 Mar 2025 04:26:07 +0000 (+1300) Subject: Fix compiler warning for commit 434dbf69. X-Git-Tag: REL_18_BETA1~514 X-Git-Url: http://git.postgresql.org/gitweb/?a=commitdiff_plain;h=0b53c08677a6515786bde9d4471b42ef7289759e;p=postgresql.git Fix compiler warning for commit 434dbf69. Reported-by: Tom Lane --- 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; }