summaryrefslogtreecommitdiff
path: root/arch/riscv64
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2021-05-19 00:34:03 -0700
committerRich Felker <dalias@aerifal.cx>2021-06-05 11:47:16 -0400
commit1f0c7cb1cc2170bf230623dc0b57d9a9f001af08 (patch)
treefb698f8fd05ac2e77788cb9f3653a2d8fb933f21 /arch/riscv64
parentd8cb888db9329d0e1b41060ec953c586c99a4a9f (diff)
downloadmusl-1f0c7cb1cc2170bf230623dc0b57d9a9f001af08.tar.gz
riscv: rename __NR_fstatat __NR_newfstatat
on riscv64 this syscall is called __NR_newfstatat this helps the name match kernel UAPI for external programs
Diffstat (limited to 'arch/riscv64')
-rw-r--r--arch/riscv64/bits/syscall.h.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/riscv64/bits/syscall.h.in b/arch/riscv64/bits/syscall.h.in
index f9c421d0..39c0d650 100644
--- a/arch/riscv64/bits/syscall.h.in
+++ b/arch/riscv64/bits/syscall.h.in
@@ -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