finish moving 32-bit-specific junk out of source files.
This commit is contained in:
+1
-1
@@ -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);
|
||||
|
||||
+1
-1
@@ -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);
|
||||
|
||||
+1
-1
@@ -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);
|
||||
|
||||
+1
-1
@@ -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);
|
||||
|
||||
+1
-1
@@ -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);
|
||||
|
||||
+1
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user