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