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
/
unistd
/
write.c
diff --git
a/src/unistd/write.c
b/src/unistd/write.c
index
426cfc5
..
a8284b3
100644
(file)
--- a/
src/unistd/write.c
+++ b/
src/unistd/write.c
@@
-6,7
+6,7
@@
ssize_t write(int fd, const void *buf, size_t count)
{
int r;
CANCELPT_BEGIN;
{
int r;
CANCELPT_BEGIN;
- r =
__syscall_write(
fd, buf, count);
+ r =
syscall(SYS_write,
fd, buf, count);
CANCELPT_END;
return r;
}
CANCELPT_END;
return r;
}