projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
global cleanup to use the new syscall interface
[musl]
/
src
/
stdio
/
__lockfile.c
diff --git
a/src/stdio/__lockfile.c
b/src/stdio/__lockfile.c
index
82f50b4
..
e4320f0
100644
(file)
--- 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 syscall
0(__NR
_sched_yield);
+ else syscall
(SYS
_sched_yield);
f->owner = __pthread_self()->tid;
f->lockcount = 1;
}