Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark McCaskey committed Apr 19, 2019
1 parent 52279af commit b141d7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/wasi/src/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ impl WasiFs {
};
// TODO: handle nested pats in `file`
let inode_val =
InodeVal::from_file_metadata(cur_file_metadata, file.clone(), true, kind);
InodeVal::from_file_metadata(&cur_file_metadata, file.clone(), true, kind);

let inode = wasi_fs.inodes.insert(inode_val);
wasi_fs.inodes[inode].stat.st_ino = wasi_fs.inode_counter.get();
Expand Down

0 comments on commit b141d7f

Please sign in to comment.