summaryrefslogtreecommitdiffstats
path: root/scripts/syscall.tbl
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2024-08-05 22:35:43 +0200
committerArnd Bergmann <arnd@arndb.de>2024-08-05 22:35:43 +0200
commit26fef9d0bbeba6bf5d18386bd20aff2c83caa0ed (patch)
treeb9990708ea4b0992ef81e8ca1160dddf84a7ad5c /scripts/syscall.tbl
parentsyscalls: fix syscall macros for newfstat/newfstatat (diff)
downloadlinux-26fef9d0bbeba6bf5d18386bd20aff2c83caa0ed.tar.xz
linux-26fef9d0bbeba6bf5d18386bd20aff2c83caa0ed.zip
syscalls: fix fstat() entry again
The previous patch to fix the newfstatat() syscall entry ended up breaking fstat() instead. Unfortunately these two are not handled the same way, so I messed this one up the exact opposite way. Fixes: 343416f0c11c ("syscalls: fix syscall macros for newfstat/newfstatat") Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'scripts/syscall.tbl')
-rw-r--r--scripts/syscall.tbl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/syscall.tbl b/scripts/syscall.tbl
index 4586a18dfe9b..b93d43561a2c 100644
--- a/scripts/syscall.tbl
+++ b/scripts/syscall.tbl
@@ -100,7 +100,7 @@
79 stat64 fstatat64 sys_fstatat64
79 64 newfstatat sys_newfstatat
80 stat64 fstat64 sys_fstat64
-80 64 newfstat sys_newfstat
+80 64 fstat sys_newfstat
81 common sync sys_sync
82 common fsync sys_fsync
83 common fdatasync sys_fdatasync