Skip to content

Commit

Permalink
log file open result when debug enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
templexxx committed Nov 3, 2022
1 parent df71620 commit c979fed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion omo/src/os/linux/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -861,7 +861,7 @@ impl Inner {
log::debug!("open({}, {}, {}) pc: {}", path, flags, mode, core.pc()?);
match open(path.as_str(), flags, mode) {
Ok(fd) => {
log::warn!("succeed to open ({}, {}, {}) fd: {}", path, flags, mode, fd);
log::debug!("succeed to open ({}, {}, {}) fd: {}", path, flags, mode, fd);
Ok(fd)
}
Err(e) => {
Expand Down

0 comments on commit c979fed

Please sign in to comment.