aboutsummaryrefslogtreecommitdiff
path: root/core/sys
diff options
context:
space:
mode:
Diffstat (limited to 'core/sys')
-rw-r--r--core/sys/wasm/wasi/wasi_api.odin4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/sys/wasm/wasi/wasi_api.odin b/core/sys/wasm/wasi/wasi_api.odin
index e9ceb4667..22abd8dc4 100644
--- a/core/sys/wasm/wasi/wasi_api.odin
+++ b/core/sys/wasm/wasi/wasi_api.odin
@@ -962,7 +962,7 @@ prestat_dir_t :: struct {
}
prestat_t :: struct {
- tag: u8,
+ tag: preopentype_t,
using u: struct {
dir: prestat_dir_t,
},
@@ -1158,7 +1158,7 @@ foreign wasi {
/**
* A buffer into which to write the preopened directory name.
*/
- path: string,
+ path: []byte,
) -> errno_t ---
/**
* Create a directory.