Changeset 3191 in MondoRescue for branches/3.2/mondo/src/lib
- Timestamp:
- Sep 25, 2013, 8:55:45 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.2/mondo/src/lib/mr_err.c
r1422 r3191 16 16 #include <stdio.h> 17 17 #include <stdlib.h> 18 #include "mr_msg.h" 18 19 19 20 /* Pointer to the right cleanup function provided by each main */ 20 extern void (*mr_cleanup)( void);21 extern void (*mr_cleanup)(int); 21 22 22 23 /* … … 26 27 27 28 if (mr_cleanup != NULL) { 28 mr_cleanup( );29 mr_cleanup(errorcode); 29 30 } 30 31 if (message != NULL) { 31 32 fprintf(stderr,"%s\n",message); 32 33 } 34 mr_msg_close(); 33 35 exit(errorcode); 34 36 }
Note:
See TracChangeset
for help on using the changeset viewer.