diff options
Diffstat (limited to 'src/stdio/__lockfile.c')
-rw-r--r-- | src/stdio/__lockfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stdio/__lockfile.c b/src/stdio/__lockfile.c index 82f50b42..e4320f05 100644 --- a/src/stdio/__lockfile.c +++ b/src/stdio/__lockfile.c @@ -13,7 +13,7 @@ void __lockfile(FILE *f) spins = 100000; while (a_swap(&f->lock, 1)) if (spins) spins--, a_spin(); - else syscall0(__NR_sched_yield); + else syscall(SYS_sched_yield); f->owner = __pthread_self()->tid; f->lockcount = 1; } |