_thread_printf() is only used for debugging or in cases where something's
screwed beyond all help, so it can just skip the pthreads wrapper for write(2) and call directly into it.
This commit is contained in:
parent
8d2536a058
commit
05e948d996
@ -110,7 +110,7 @@ static void
|
||||
pchar(int fd, char c)
|
||||
{
|
||||
|
||||
write(fd, &c, 1);
|
||||
__sys_write(fd, &c, 1);
|
||||
}
|
||||
|
||||
/*
|
||||
@ -120,6 +120,6 @@ static void
|
||||
pstr(int fd, const char *s)
|
||||
{
|
||||
|
||||
write(fd, s, strlen(s));
|
||||
__sys_write(fd, s, strlen(s));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user