Browse Source

* pass 3 as fd for path_open

git-svn-id: branches/wasm@48341 -
nickysn 4 years ago
parent
commit
0077b16cc3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      rtl/wasi/sysfile.inc

+ 1 - 1
rtl/wasi/sysfile.inc

@@ -168,7 +168,7 @@ Begin
    end;
 { real open call }
   repeat
-    res:=path_open(0,
+    res:=path_open(3,  { not sure about this fd... }
                    0,
                    p,
                    strlen(p),