X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Funistd%2Fwrite.c;h=a8284b3216684c9ed8033b69ae0d73494729f535;hb=fd80cfa00b34ec81b3049b98c66f6a45301ca6c4;hp=426cfc5b82775494ae1a600d68bd11505c3ade61;hpb=0b44a0315b47dd8eced9f3b7f31580cf14bbfc01;p=musl diff --git a/src/unistd/write.c b/src/unistd/write.c index 426cfc5b..a8284b32 100644 --- 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; - r = __syscall_write(fd, buf, count); + r = syscall(SYS_write, fd, buf, count); CANCELPT_END; return r; }