X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=src%2Fstdio%2F__lockfile.c;h=4e0239e7e96399761effc4f60b8a151887454a07;hp=c0948255fc176c6305e222f8209b027f44bead8a;hb=eb0e8fa0b1960cff4bd65ebefc798f70273b0bc9;hpb=09dae2b7b66f741b30aa7ce95ab395239da20762 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; }