riscv: rename __NR_fstatat __NR_newfstatat
authorKhem Raj <raj.khem@gmail.com>
Wed, 19 May 2021 07:34:03 +0000 (00:34 -0700)
committerRich Felker <dalias@aerifal.cx>
Sat, 5 Jun 2021 15:47:16 +0000 (11:47 -0400)
on riscv64 this syscall is called __NR_newfstatat
this helps the name match kernel UAPI for external
programs

arch/riscv64/bits/syscall.h.in

index f9c421d..39c0d65 100644 (file)
@@ -76,7 +76,7 @@
 #define __NR_splice 76
 #define __NR_tee 77
 #define __NR_readlinkat 78
-#define __NR_fstatat 79
+#define __NR_newfstatat 79
 #define __NR_fstat 80
 #define __NR_sync 81
 #define __NR_fsync 82