Skip to content

Commit

Permalink
jsc/wasm32/wasm32.jsc: minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pipcet committed Feb 1, 2021
1 parent 4e0e495 commit b3d100f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jsc/wasm32/wasm32.jsc
Original file line number Diff line number Diff line change
Expand Up @@ -5599,10 +5599,10 @@ ThinThin.unlinkat = function ()
return 0;
};

ThinThin.mkdirat = function ()
ThinThin.mkdirat = function (fdno, pathptr)
{
let path = CStringAt(this.HEAP8, pathptr);
os.spawn("mkdir " + path);
os.system("mkdir " + this.pwd + "/" + path);
return 0;
};

Expand Down

0 comments on commit b3d100f

Please sign in to comment.