Fix compiler warning for commit 434dbf69.
authorThomas Munro <tmunro@postgresql.org>
Wed, 19 Mar 2025 04:26:07 +0000 (17:26 +1300)
committerThomas Munro <tmunro@postgresql.org>
Wed, 19 Mar 2025 04:26:16 +0000 (17:26 +1300)
Reported-by: Tom Lane <tgl@sss.pgh.pa.us>
src/interfaces/libpq/fe-auth-oauth-curl.c

index 2d6d4b1a1234671da069fcfb8429157a0c44a2eb..3612819ae43aa86102dad930dc2a68e3cb016503 100644 (file)
@@ -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;
    }