aboutsummaryrefslogtreecommitdiff
path: root/project/src/wtest.c
diff options
context:
space:
mode:
Diffstat (limited to 'project/src/wtest.c')
-rw-r--r--project/src/wtest.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/project/src/wtest.c b/project/src/wtest.c
index f91feb2..79f45c6 100644
--- a/project/src/wtest.c
+++ b/project/src/wtest.c
@@ -302,8 +302,8 @@ static int test_matrix ( int argc, char ** argv )
}
printf("\nerr=%u, total=%u\n",err_count,total_count);
- if ( err_count && max_error < ERR_DIFFER )
- max_error = ERR_DIFFER;
+ if ( err_count && ProgInfo.max_error < ERR_DIFFER )
+ ProgInfo.max_error = ERR_DIFFER;
return 0;
}
@@ -3353,7 +3353,7 @@ static enumError test_timezone ( int argc, char ** argv )
{
printf("\nEndless timezone test with interval of 30 minutes started (pid=%u)\n",
getpid() );
- printf("Typical usage: nohup ./%s TIMEZONE >>timezone-test.tmp 2>&1 &\n\n",progname);
+ printf("Typical usage: nohup ./%s TIMEZONE >>timezone-test.tmp 2>&1 &\n\n",ProgInfo.progname);
for(;;)
{
@@ -3989,7 +3989,7 @@ int main ( int argc, char ** argv )
{
printf("***** %s *****\n",TITLE);
print_title_func = print_title;
- SetupLib(argc,argv,NAME);
+ SetupLib(argc,argv,NAME,VERSION,TITLE);
fflush(stdout);
//printf(" |" MM1(XXX) "|" MM2(XXX) "\n");
@@ -4079,7 +4079,7 @@ int main ( int argc, char ** argv )
if (SIGINT_level)
ERROR0(ERR_INTERRUPT,"Program interrupted by user.");
- return max_error;
+ return ProgInfo.max_error;
}
///////////////////////////////////////////////////////////////////////////////