From: Arnd Bergmann Date: Mon, 5 Aug 2024 20:35:43 +0000 (+0200) Subject: syscalls: fix fstat() entry again X-Git-Tag: v6.11-rc3~18^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=26fef9d0bbeba6bf5d18386bd20aff2c83caa0ed;p=thirdparty%2Fkernel%2Flinux.git 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 --- diff --git a/scripts/syscall.tbl b/scripts/syscall.tbl index 4586a18dfe9b3..b93d43561a2cd 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