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:
parent
05963ea4d1
commit
b488428efe
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user