summaryrefslogtreecommitdiffstats
path: root/lib/libthr
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libthr')
-rw-r--r--lib/libthr/thread/thr_printf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libthr/thread/thr_printf.c b/lib/libthr/thread/thr_printf.c
index 3a120e8..db861a7 100644
--- a/lib/libthr/thread/thr_printf.c
+++ b/lib/libthr/thread/thr_printf.c
@@ -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));
}
OpenPOWER on IntegriCloud