Skip to content

Commit a107b4d

Browse files
rvolosatovsdeadprogram
authored andcommitted
syscall: ensure correct C prototype WASI function signature
Signed-off-by: Roman Volosatovs <roman@profian.com>
1 parent 5c176f8 commit a107b4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/syscall/syscall_libc_wasi.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ func Getpagesize() int {
306306
//export stat
307307
func libc_stat(pathname *byte, ptr unsafe.Pointer) int32
308308

309-
// int fstat(fd int, struct stat * buf);
309+
// int fstat(int fd, struct stat * buf);
310310
//
311311
//export fstat
312312
func libc_fstat(fd int32, ptr unsafe.Pointer) int32

0 commit comments

Comments
 (0)