Skip to content

Commit abc6b55

Browse files
committed
wasi_path_filestat_set_times: fix a param index
1 parent bb91719 commit abc6b55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libwasi/wasi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3083,7 +3083,7 @@ wasi_path_filestat_set_times(struct exec_context *ctx,
30833083
uint32_t pathlen = HOST_FUNC_PARAM(ft, params, 3, i32);
30843084
uint64_t atim = HOST_FUNC_PARAM(ft, params, 4, i64);
30853085
uint64_t mtim = HOST_FUNC_PARAM(ft, params, 5, i64);
3086-
uint32_t fstflags = HOST_FUNC_PARAM(ft, params, 7, i32);
3086+
uint32_t fstflags = HOST_FUNC_PARAM(ft, params, 6, i32);
30873087
char *hostpath = NULL;
30883088
char *wasmpath = NULL;
30893089
int host_ret;

0 commit comments

Comments
 (0)