| 127 | enum e_corosync_done err, const char *file, unsigned int line) __attribute__((noreturn)); |
| 128 | |
| 129 | void _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 | |
| 143 | char *getcs_name_t (cs_name_t *name) |
| 144 | { |
no test coverage detected