… | |
… | |
69 | /* |
69 | /* |
70 | * fatal() is meant to be called whenever a fatal signal is intercepted. |
70 | * fatal() is meant to be called whenever a fatal signal is intercepted. |
71 | * It will call the emergency_save and the clean_tmp_files functions. |
71 | * It will call the emergency_save and the clean_tmp_files functions. |
72 | */ |
72 | */ |
73 | void |
73 | void |
74 | fatal (int err) |
74 | fatal (const char *msg) |
75 | { |
75 | { |
76 | LOG (llevError, "Fatal: %s\n", fatalmsgs [err]); |
76 | LOG (llevError, "FATAL: %s\n", msg); |
77 | cleanup (fatalmsgs[err], 1); |
77 | cleanup (msg, 1); |
78 | } |
78 | } |
79 | |
79 | |
80 | ///////////////////////////////////////////////////////////////////////////// |
80 | ///////////////////////////////////////////////////////////////////////////// |
81 | |
81 | |
82 | /* |
82 | /* |