X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fdaemon.c;h=5ed2895170481dbc1a7d2108a0672e4e9257dd0b;hb=1bf02876a46e3e86a59f959fdac57db7f6b0a4ad;hp=1c9ebe257285f90f4e601cb9fa391c7f5a17852f;hpb=31ef9f5178dee18a40ce609aad406e925411eb06;p=sliver-openvswitch.git diff --git a/lib/daemon.c b/lib/daemon.c index 1c9ebe257..5ed289517 100644 --- a/lib/daemon.c +++ b/lib/daemon.c @@ -341,7 +341,7 @@ fork_and_wait_for_startup(int *fdp) } else if (retval < 0) { VLOG_FATAL("waitpid failed (%s)", ovs_strerror(errno)); } else { - NOT_REACHED(); + OVS_NOT_REACHED(); } } close(fds[0]); @@ -376,6 +376,8 @@ should_restart(int status) { if (WIFSIGNALED(status)) { static const int error_signals[] = { + /* This list of signals is documented in daemon.man. If you + * change the list, update the documentation too. */ SIGABRT, SIGALRM, SIGBUS, SIGFPE, SIGILL, SIGPIPE, SIGSEGV, SIGXCPU, SIGXFSZ };