SIGPWR does not exist on FreeBSD

Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
Enji Cooper 2014-10-10 19:34:19 +00:00
parent 6fc3b00f80
commit e33dfddd03
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=272910

View File

@ -43,7 +43,11 @@ static int count;
static void handler_err(int);
static void handler_ret(int);
static void handler_stress(int);
#if defined(__FreeBSD__)
static int sig[] = { SIGALRM, SIGIO, SIGUSR1, SIGUSR2 };
#else
static int sig[] = { SIGALRM, SIGIO, SIGUSR1, SIGUSR2, SIGPWR };
#endif
static void
handler_stress(int signo)