From a6b8c1b0fa4c8d89783b83abbb9717746f131d3b Mon Sep 17 00:00:00 2001 From: Syrus Akbary Date: Fri, 26 Apr 2019 17:40:55 -0700 Subject: [PATCH] Fix debug issue --- lib/wasi/src/state.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/wasi/src/state.rs b/lib/wasi/src/state.rs index b611bb2a7..f1608e768 100644 --- a/lib/wasi/src/state.rs +++ b/lib/wasi/src/state.rs @@ -189,7 +189,7 @@ impl WasiFs { inode_counter: Cell::new(1000), }; for dir in preopened_dirs { - debug!("Attempting to preopen {}", &file); + debug!("Attempting to preopen {}", &dir); // TODO: think about this let default_rights = 0x1FFFFFFF; // all rights let cur_dir = PathBuf::from(dir);