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:
@@ -67,7 +67,7 @@ subproc_write(void)
|
||||
buffer[i] = WRITECHAR;
|
||||
}
|
||||
|
||||
printf("File Writer starting ...\n");
|
||||
tprintf("File Writer starting ...\n");
|
||||
|
||||
fd = open(FNAME, O_WRONLY);
|
||||
if (fd < 0) {
|
||||
@@ -81,5 +81,5 @@ subproc_write(void)
|
||||
|
||||
close(fd);
|
||||
|
||||
printf("File Write exited successfully!\n");
|
||||
tprintf("File Write exited successfully!\n");
|
||||
}
|
||||
|
Reference in New Issue
Block a user