1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-22 07:20:00 +00:00

pf/libevent: Consistently pass evsignal to sigaction.

This silences a set but unused warning from GCC.

Reviewed by:	kp
Differential Revision:	https://reviews.freebsd.org/D40649
This commit is contained in:
John Baldwin 2023-06-20 12:31:19 -07:00
parent 05963ea4d1
commit b488428efe

View File

@ -144,7 +144,7 @@ evsignal_del(struct event *ev)
evsignal = EVENT_SIGNAL(ev);
return (sigaction(EVENT_SIGNAL(ev),(struct sigaction *)SIG_DFL, NULL));
return (sigaction(evsignal, (struct sigaction *)SIG_DFL, NULL));
}
static void