summaryrefslogtreecommitdiff
path: root/arch/mips/syscall_arch.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/syscall_arch.h')
-rw-r--r--arch/mips/syscall_arch.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/mips/syscall_arch.h b/arch/mips/syscall_arch.h
index 3ac4da21..666f413f 100644
--- a/arch/mips/syscall_arch.h
+++ b/arch/mips/syscall_arch.h
@@ -99,7 +99,7 @@ static inline long __syscall4(long n, long a, long b, long c, long d)
if (r7) return -r2;
long ret = r2;
if (n == SYS_stat64 || n == SYS_fstat64 || n == SYS_lstat64) __stat_fix(b);
- if (n == SYS_fstatat) __stat_fix(c);
+ if (n == SYS_fstatat64) __stat_fix(c);
return ret;
}
@@ -108,7 +108,7 @@ static inline long __syscall5(long n, long a, long b, long c, long d, long e)
long r2 = (__syscall)(n, a, b, c, d, e);
if (r2 > -4096UL) return r2;
if (n == SYS_stat64 || n == SYS_fstat64 || n == SYS_lstat64) __stat_fix(b);
- if (n == SYS_fstatat) __stat_fix(c);
+ if (n == SYS_fstatat64) __stat_fix(c);
return r2;
}
@@ -117,7 +117,7 @@ static inline long __syscall6(long n, long a, long b, long c, long d, long e, lo
long r2 = (__syscall)(n, a, b, c, d, e, f);
if (r2 > -4096UL) return r2;
if (n == SYS_stat64 || n == SYS_fstat64 || n == SYS_lstat64) __stat_fix(b);
- if (n == SYS_fstatat) __stat_fix(c);
+ if (n == SYS_fstatat64) __stat_fix(c);
return r2;
}