mirror of
https://git.FreeBSD.org/src.git
synced 2024-10-18 02:19:39 +00:00
_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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=116103
@ -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