Changeset 1106 in MondoRescue for trunk/mondo/src/lib/mr_msg.c
- Timestamp:
- Feb 7, 2007, 11:55:11 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/mondo/src/lib/mr_msg.c
r1074 r1106 52 52 * Function that log a message. Not called directly 53 53 * but through other functions 54 * fmt needs to be just before ... 54 55 */ 55 void mr_msg (int debug, const char *fmt, ...) {56 void mr_msg_int(int debug, int line, const char *file, const char *fmt, ...) { 56 57 57 58 int i = 0; … … 74 75 for (i = 1; i < debug; i++) 75 76 fprintf(fout, " "); 76 fprintf(fout, "%s ->%s#%d: ", __FILE__, __FUNCTION__, __LINE__);77 fprintf(fout, "%s #%d: ", file, line); 77 78 } 78 79 va_start(args,fmt);
Note:
See TracChangeset
for help on using the changeset viewer.