From a107b4d459ecfc91e34232ae91ad8caad2d5ce8a Mon Sep 17 00:00:00 2001 From: Roman Volosatovs Date: Thu, 19 May 2022 15:55:30 +0200 Subject: [PATCH] syscall: ensure correct C prototype WASI function signature Signed-off-by: Roman Volosatovs --- src/syscall/syscall_libc_wasi.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/syscall/syscall_libc_wasi.go b/src/syscall/syscall_libc_wasi.go index 65f11b70..53d6afbd 100644 --- a/src/syscall/syscall_libc_wasi.go +++ b/src/syscall/syscall_libc_wasi.go @@ -306,7 +306,7 @@ func Getpagesize() int { //export stat func libc_stat(pathname *byte, ptr unsafe.Pointer) int32 -// int fstat(fd int, struct stat * buf); +// int fstat(int fd, struct stat * buf); // //export fstat func libc_fstat(fd int32, ptr unsafe.Pointer) int32