Skip to content

Commit

Permalink
Merge pull request #244 from fox0/main
Browse files Browse the repository at this point in the history
[PATCH] df: fix work with type fuse.portal
  • Loading branch information
jgarzik authored Sep 23, 2024
2 parents 1b1ab55 + 4750ae0 commit cb88f8b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion fs/df.rs
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,8 @@ fn read_mount_info() -> io::Result<MountList> {
let mut mount: libc::statfs = std::mem::zeroed();
let rc = libc::statfs(dirname.as_ptr(), &mut mount);
if rc < 0 {
return Err(io::Error::last_os_error());
eprintln!("{}: {}", dirname.to_str().unwrap(), io::Error::last_os_error());
continue;
}

info.push(&mount, devname, dirname);
Expand Down

0 comments on commit cb88f8b

Please sign in to comment.