Changeset 1133 in MondoRescue for branches/stable/mondo/src/lib/mr_msg.c
- Timestamp:
- Feb 11, 2007, 12:02:57 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mondo/src/lib/mr_msg.c
r1132 r1133 53 53 * but through other functions 54 54 * fmt needs to be just before ... 55 * debug should be >0 to have file and line printed (real debug) 56 * If =0 it's an informative log message 55 57 */ 56 58 void mr_msg_int(int debug, int line, const char *file, const char *fmt, ...) { … … 78 80 } 79 81 va_start(args,fmt); 80 if (vfprintf(fout, fmt, args ) < 0) {82 if (vfprintf(fout, fmt, args, "\n") < 0) { 81 83 fprintf(stderr,"Unable to print to %s\n",mr_logfile); 82 84 }
Note:
See TracChangeset
for help on using the changeset viewer.