projects
/
oweals
/
musl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
clean up sloppy nested inclusion from pthread_impl.h
[oweals/musl.git]
/
src
/
unistd
/
ftruncate.c
diff --git
a/src/unistd/ftruncate.c
b/src/unistd/ftruncate.c
index db5da84470897aa58148140b1e0e46620ba53eba..467135f009971316101b6e38e5384707baa508c4 100644
(file)
--- a/
src/unistd/ftruncate.c
+++ b/
src/unistd/ftruncate.c
@@
-4,7
+4,7
@@
int ftruncate(int fd, off_t length)
{
- return syscall
3(__NR_ftruncate, fd, SYSCALL_LL
(length));
+ return syscall
(SYS_ftruncate, fd, __SYSCALL_LL_O
(length));
}
LFS64(ftruncate);