Changeset 6844


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

fixed another \0 issue for modern gcc compilers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/data_exchange/import_generic/import_generic.c

    r6803 r6844  
    10101010   if( type == TypeHeartBeat ) 
    10111011   { 
    1012         sprintf( msg, "%ld %ld\n\0", (long) t, (long) MyPid ); 
     1012        sprintf( msg, "%ld %ld\n", (long) t, (long) MyPid ); 
    10131013   } 
    10141014   else if( type == TypeError ) 
    10151015   { 
    1016         sprintf( msg, "%ld %hd %s\n\0", (long) t, ierr, note); 
     1016        sprintf( msg, "%ld %hd %s\n", (long) t, ierr, note); 
    10171017        logit( "t", "import_generic(%s): %s\n", MyModName, note ); 
    10181018   } 
Note: See TracChangeset for help on using the changeset viewer.