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
/
fcntl
/
openat.c
diff --git
a/src/fcntl/openat.c
b/src/fcntl/openat.c
index
eefa090
..
1a2d953
100644
(file)
--- a/
src/fcntl/openat.c
+++ b/
src/fcntl/openat.c
@@
-13,7
+13,7
@@
int openat(int fd, const char *filename, int flags, ...)
mode = va_arg(ap, mode_t);
va_end(ap);
CANCELPT_BEGIN;
- r = syscall
4(__NR_openat, fd, (long)
filename, flags|O_LARGEFILE, mode);
+ r = syscall
(SYS_openat, fd,
filename, flags|O_LARGEFILE, mode);
CANCELPT_END;
return r;
}