Changeset 6843


Ignore:
Timestamp:
10/18/16 15:00:10 (3 years ago)
Author:
paulf
Message:

cleaned up a format error in template.c that modern gcc does not like

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/diagnostic_tools/template/template.c

    r6803 r6843  
    532532   if( type == TypeHeartBeat ) 
    533533   { 
    534         sprintf( msg, "%ld %ld\n\0", (long) t, (long) myPid); 
     534        sprintf( msg, "%ld %ld\n", (long) t, (long) myPid); 
    535535   } 
    536536   else if( type == TypeError ) 
    537537   { 
    538         sprintf( msg, "%ld %hd %s\n\0", (long) t, ierr, note); 
     538        sprintf( msg, "%ld %hd %s\n", (long) t, ierr, note); 
    539539        logit( "et", "template: %s\n", note ); 
    540540   } 
Note: See TracChangeset for help on using the changeset viewer.