aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/syscall/libc_wasip2.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/syscall/libc_wasip2.go')
-rw-r--r--src/syscall/libc_wasip2.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/syscall/libc_wasip2.go b/src/syscall/libc_wasip2.go
index 3aadf877f..7123f2db2 100644
--- a/src/syscall/libc_wasip2.go
+++ b/src/syscall/libc_wasip2.go
@@ -97,7 +97,7 @@ func read(fd int32, buf *byte, count uint) int {
type wasiFile struct {
d types.Descriptor
- oflag int32 // orignal open flags: O_RDONLY, O_WRONLY, O_RDWR
+ oflag int32 // original open flags: O_RDONLY, O_WRONLY, O_RDWR
offset int64 // current fd offset; updated with each read/write
refs int
}