about summary refs log tree commit diff
path: root/src/stat
diff options
context:
space:
mode:
Diffstat (limited to 'src/stat')
-rw-r--r--src/stat/fstat.c2
-rw-r--r--src/stat/fstatat.c2
-rw-r--r--src/stat/fstatvfs.c2
-rw-r--r--src/stat/lstat.c2
-rw-r--r--src/stat/stat.c2
-rw-r--r--src/stat/statvfs.c2
6 files changed, 6 insertions, 6 deletions
diff --git a/src/stat/fstat.c b/src/stat/fstat.c
index 5f643301..88ac6f3c 100644
--- a/src/stat/fstat.c
+++ b/src/stat/fstat.c
@@ -4,7 +4,7 @@
 
 int fstat(int fd, struct stat *buf)
 {
-	return syscall2(__NR_fstat64, fd, (long)buf);
+	return syscall2(__NR_fstat, fd, (long)buf);
 }
 
 LFS64(fstat);
diff --git a/src/stat/fstatat.c b/src/stat/fstatat.c
index 22bc2934..e39f833b 100644
--- a/src/stat/fstatat.c
+++ b/src/stat/fstatat.c
@@ -4,7 +4,7 @@
 
 int fstatat(int fd, const char *path, struct stat *buf, int flag)
 {
-	return syscall4(__NR_fstatat64, fd, (long)path, (long)buf, flag);
+	return syscall4(__NR_fstatat, fd, (long)path, (long)buf, flag);
 }
 
 LFS64(fstatat);
diff --git a/src/stat/fstatvfs.c b/src/stat/fstatvfs.c
index 83bd7486..4a8bfe2e 100644
--- a/src/stat/fstatvfs.c
+++ b/src/stat/fstatvfs.c
@@ -4,7 +4,7 @@
 
 int fstatvfs(int fd, struct statvfs *buf)
 {
-	return syscall2(__NR_fstatfs64, fd, (long)buf);
+	return syscall2(__NR_fstatfs, fd, (long)buf);
 }
 
 weak_alias(fstatvfs, fstatfs);
diff --git a/src/stat/lstat.c b/src/stat/lstat.c
index afdb5538..3b22e620 100644
--- a/src/stat/lstat.c
+++ b/src/stat/lstat.c
@@ -4,7 +4,7 @@
 
 int lstat(const char *path, struct stat *buf)
 {
-	return syscall2(__NR_lstat64, (long)path, (long)buf);
+	return syscall2(__NR_lstat, (long)path, (long)buf);
 }
 
 LFS64(lstat);
diff --git a/src/stat/stat.c b/src/stat/stat.c
index 67640cc1..9847552a 100644
--- a/src/stat/stat.c
+++ b/src/stat/stat.c
@@ -4,7 +4,7 @@
 
 int stat(const char *path, struct stat *buf)
 {
-	return syscall2(__NR_stat64, (long)path, (long)buf);
+	return syscall2(__NR_stat, (long)path, (long)buf);
 }
 
 LFS64(stat);
diff --git a/src/stat/statvfs.c b/src/stat/statvfs.c
index 55a05d52..ebf14b43 100644
--- a/src/stat/statvfs.c
+++ b/src/stat/statvfs.c
@@ -4,7 +4,7 @@
 
 int statvfs(const char *path, struct statvfs *buf)
 {
-	return syscall2(__NR_statfs64, (long)path, (long)buf);
+	return syscall2(__NR_statfs, (long)path, (long)buf);
 }
 
 weak_alias(statvfs, statfs);