_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:
Mike Makonnen 2003-06-09 17:58:15 +00:00
parent 8d2536a058
commit 05e948d996

View File

@ -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));
}