Fix debug issue

This commit is contained in:
Syrus Akbary 2019-04-26 17:40:55 -07:00 committed by GitHub
parent 6958f89443
commit a6b8c1b0fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -189,7 +189,7 @@ impl WasiFs {
inode_counter: Cell::new(1000), inode_counter: Cell::new(1000),
}; };
for dir in preopened_dirs { for dir in preopened_dirs {
debug!("Attempting to preopen {}", &file); debug!("Attempting to preopen {}", &dir);
// TODO: think about this // TODO: think about this
let default_rights = 0x1FFFFFFF; // all rights let default_rights = 0x1FFFFFFF; // all rights
let cur_dir = PathBuf::from(dir); let cur_dir = PathBuf::from(dir);