projects
/
oweals
/
musl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
fix statvfs syscalls (missing size argument)
[oweals/musl.git]
/
src
/
stat
/
statvfs.c
1
#include <sys/statvfs.h>
2
#include "syscall.h"
3
#include "libc.h"
4
5
int statvfs(const char *path, struct statvfs *buf)
6
{
7
return syscall(SYS_statfs, path, sizeof *buf, buf);
8
}
9
10
weak_alias(statvfs, statfs);
11
12
LFS64(statvfs);
13
LFS64(statfs);