Changeset 6846
- Timestamp:
- 10/18/16 15:20:17 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/seismic_processing/fir/statrpt.c
r2819 r6846 79 79 if ( pFir->firEWH.typeHeartbeat == type ) 80 80 { 81 sprintf( outMsg, "%ld %ld\n \0", (long) msgTime, (long) pFir->MyPid );81 sprintf( outMsg, "%ld %ld\n", (long) msgTime, (long) pFir->MyPid ); 82 82 83 83 /*Write the message to the output region */ … … 93 93 { 94 94 if ( message ) { 95 sprintf( outMsg, "%ld %hd %s\n \0", (long) msgTime, code, message );95 sprintf( outMsg, "%ld %hd %s\n", (long) msgTime, code, message ); 96 96 logit("t","Error:%d (%s)\n", code, message ); 97 97 } 98 98 else { 99 sprintf( outMsg, "%ld %hd\n \0", (long) msgTime, code );99 sprintf( outMsg, "%ld %hd\n", (long) msgTime, code ); 100 100 logit("t","Error:%d (No description)\n", code ); 101 101 }
Note: See TracChangeset
for help on using the changeset viewer.