projects
/
oweals
/
musl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add and consolidate nasty stdio_ext junk
[oweals/musl.git]
/
src
/
unistd
/
getcwd.c
diff --git
a/src/unistd/getcwd.c
b/src/unistd/getcwd.c
index 4910f42c2a5c3e0eae3ff6b0685ecb14e72d7e24..b64b560feeb5bf71d24f2354721a7b39d1f85004 100644
(file)
--- a/
src/unistd/getcwd.c
+++ b/
src/unistd/getcwd.c
@@
-4,5
+4,5
@@
char *getcwd(char *buf, size_t size)
{
- return syscall
2(__NR_getcwd, (long)
buf, size) < 0 ? NULL : buf;
+ return syscall
(SYS_getcwd,
buf, size) < 0 ? NULL : buf;
}