about summary refs log tree commit diff
path: root/src/stdio/__lockfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stdio/__lockfile.c')
-rw-r--r--src/stdio/__lockfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stdio/__lockfile.c b/src/stdio/__lockfile.c
index c0948255..4e0239e7 100644
--- a/src/stdio/__lockfile.c
+++ b/src/stdio/__lockfile.c
@@ -15,6 +15,6 @@ void __lockfile(FILE *f)
 	}
 	while (a_cas(&f->lock, 0, tid))
 		if (spins) spins--, a_spin();
-		else syscall(SYS_sched_yield);
+		else __syscall(SYS_sched_yield);
 	f->lockcount = 1;
 }