1) Moved tprintf and related functions to their own file in common/libc/printf/tprintf.c.
This file is included by both libc and hostcompat. 2) Changed printf -> tprintf in all testbin programs
This commit is contained in:
@@ -113,10 +113,10 @@ static
|
||||
void
|
||||
usage(void)
|
||||
{
|
||||
printf("Usage: randcall [-f] [-c count] [-r seed] 2|3|4|all\n");
|
||||
printf(" -f suppress forking\n");
|
||||
printf(" -c set iteration count (default 100)\n");
|
||||
printf(" -r set pseudorandom seed (default 0)\n");
|
||||
tprintf("Usage: randcall [-f] [-c count] [-r seed] 2|3|4|all\n");
|
||||
tprintf(" -f suppress forking\n");
|
||||
tprintf(" -c set iteration count (default 100)\n");
|
||||
tprintf(" -r set pseudorandom seed (default 0)\n");
|
||||
exit(1);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user