diff --git a/src/moab/MJob.c b/src/moab/MJob.c index dd11c2f..1ce19b2 100644 --- a/src/moab/MJob.c +++ b/src/moab/MJob.c @@ -7702,7 +7702,7 @@ int MJobWriteStats( if (MJobToTString(J,DEFAULT_WORKLOAD_TRACE_VERSION,Buf,sizeof(Buf)) == SUCCESS) { - fprintf(MSched.statfp,Buf); + fprintf(MSched.statfp,"%s",Buf); fflush(MSched.statfp); diff --git a/src/server/mprof.c b/src/server/mprof.c index 45e797d..8670c5c 100644 --- a/src/server/mprof.c +++ b/src/server/mprof.c @@ -1501,7 +1501,7 @@ int Mode) } else { - fprintf(stdout, + fprintf(stdout,"%s", (Mode & (1 << mMatrix)) ? MNull : Null); } } @@ -1517,7 +1517,7 @@ int Mode) } else { - fprintf(stdout, + fprintf(stdout,"%s", (Mode & (1 << mMatrix)) ? MNull : Null); fprintf(stdout,"\n"); @@ -1541,7 +1541,7 @@ int Mode) } else { - fprintf(stdout, + fprintf(stdout,"%s", (Mode & (1 << mMatrix)) ? MNull : Null); } }