On Sat, Sep 25, 2010 at 05:08:33PM +1000, Angus Salkeld wrote: > On Fri, Sep 24, 2010 at 09:33:10AM -0700, Steven Dake wrote: > > On 09/23/2010 06:55 PM, Angus Salkeld wrote: > > >Signed-off-by: Angus Salkeld<[email protected]> > > >--- > > > exec/Makefile.am | 2 +- > > > exec/fsm.h | 125 > > > ++++++++++++++++++++++++++++++++++++++++++++++++++++++ > > > 2 files changed, 126 insertions(+), 1 deletions(-) > > > create mode 100644 exec/fsm.h > > > > > >+ log_printf (LOGSYS_LEVEL_ERROR, "Fsm:%s could not find event \"%s\" in > > >state \"%s\"", > > >+ fsm->name, fsm->event_to_str(fsm, new_event), > > >fsm->state_to_str(fsm, fsm->curr_state)); > > >+ sleep(3); > > >+ assert (0&& "event not found"); > > >+}
I have changed this to sleep() and assert() to corosync_exit_error(AIS_DONE_FATAL_ERR); Committed. -Angus _______________________________________________ Openais mailing list [email protected] https://lists.linux-foundation.org/mailman/listinfo/openais
