PSI sics-cvs-psi-2006

This commit is contained in:
2006-05-08 02:00:00 +00:00
committed by Douglas Clowes
parent ae77364de2
commit 6e926b813f
388 changed files with 445529 additions and 14109 deletions

View File

@@ -418,7 +418,8 @@ static void VarLogDumpFile(pVarLog self, FILE *fd)
iRet = VarlogGetMean(self,&fMean,&fStdDev);
if(!iRet)
{
SCWrite(pCon,"ERROR: Invalid logging list",eError);
SCWrite(pCon,"WARNING: No mean and stddev log values available ",
eWarning);
return 0;
}
sprintf(pBueffel,"%s.Mean = %8.2f %s.StdDev = %8.2f",
@@ -449,7 +450,7 @@ static void VarLogDumpFile(pVarLog self, FILE *fd)
}
else /* print */
{
sprintf(pBueffel,"%s.frequency = %d",pVarName,self->tFrequency);
sprintf(pBueffel,"%s.frequency = %d",pVarName,(int)self->tFrequency);
SCWrite(pCon,pBueffel,eValue);
return 1;
}