summaryrefslogtreecommitdiff
path: root/src/runtime/darwin/thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/darwin/thread.c')
-rw-r--r--src/runtime/darwin/thread.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/runtime/darwin/thread.c b/src/runtime/darwin/thread.c
index 0d541775f..c780e1619 100644
--- a/src/runtime/darwin/thread.c
+++ b/src/runtime/darwin/thread.c
@@ -169,11 +169,7 @@ minit(void)
static void
macherror(int32 r, int8 *fn)
{
- prints("mach error ");
- prints(fn);
- prints(": ");
- sys·printint(r);
- prints("\n");
+ printf("mach error %s: %d\n", fn, r);
throw("mach error");
}