fixed format

This commit is contained in:
Ken Martin 2001-08-23 11:39:21 -04:00
parent ab0ef5b6a0
commit 32e789efd2
1 changed files with 1 additions and 1 deletions

View File

@ -182,7 +182,7 @@ int main (int argc, char *argv[])
else else
{ {
float percent = passed * 100.0 / total; float percent = passed * 100.0 / total;
fprintf(stderr,"%f.0%% tests passed, %i tests failed out of %i\n", fprintf(stderr,"%.0f%% tests passed, %i tests failed out of %i\n",
percent,failed, total); percent,failed, total);
} }