ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/trunk/src/utils/simError.cpp
(Generate patch)

Comparing branches/development/src/utils/simError.c (file contents):
Revision 1590 by gezelter, Mon Jul 11 01:39:49 2011 UTC vs.
Revision 1600 by gezelter, Wed Aug 3 20:20:37 2011 UTC

# Line 104 | Line 104 | int simError( void ) {
104      strncat(errorMsg, painCave.errMsg, strlen(painCave.errMsg));
105      
106      strcat(errorMsg, "\n");
107 <    fprintf(stderr, errorMsg);
107 >    fprintf(stderr, "%s", errorMsg);
108      
109   #ifdef IS_MPI
110      if (painCave.isEventLoop)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines