MCPcopy Create free account
hub / github.com/corosync/corosync / _corosync_exit_error

Function _corosync_exit_error

exec/util.c:129–141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

127 enum e_corosync_done err, const char *file, unsigned int line) __attribute__((noreturn));
128
129void _corosync_exit_error (
130 enum e_corosync_done err, const char *file, unsigned int line)
131{
132 if (err == COROSYNC_DONE_EXIT) {
133 log_printf (LOGSYS_LEVEL_NOTICE,
134 "Corosync Cluster Engine exiting normally");
135 } else {
136 log_printf (LOGSYS_LEVEL_ERROR, "Corosync Cluster Engine exiting "
137 "with status %d at %s:%u.", err, file, line);
138 }
139 logsys_system_fini ();
140 exit (err);
141}
142
143char *getcs_name_t (cs_name_t *name)
144{

Callers 1

Calls 1

logsys_system_finiFunction · 0.85

Tested by

no test coverage detected