1
0
mirror of https://github.com/postgres/postgres.git synced 2025-05-02 11:44:50 +03:00

Fix compiler warning for commit 434dbf69.

Reported-by: Tom Lane <tgl@sss.pgh.pa.us>
This commit is contained in:
Thomas Munro 2025-03-19 17:26:07 +13:00
parent 1cf4c56480
commit 0b53c08677

View 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;
}