projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add support for mips and mips64 r6 isa
[musl]
/
src
/
misc
/
realpath.c
diff --git
a/src/misc/realpath.c
b/src/misc/realpath.c
index
4cc7e7d
..
88c849c
100644
(file)
--- a/
src/misc/realpath.c
+++ b/
src/misc/realpath.c
@@
-22,7
+22,7
@@
char *realpath(const char *restrict filename, char *restrict resolved)
return 0;
}
- fd = sys
call(SYS_open, filename, O_PATH|O_NONBLOCK|O_CLOEXEC|O_LARGEFILE
);
+ fd = sys
_open(filename, O_PATH|O_NONBLOCK|O_CLOEXEC
);
if (fd < 0) return 0;
__procfdname(buf, fd);