Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion file/file.rs
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ fn analyze_file(mut path: String, args: &Args, magic_files: &Vec<PathBuf>) {
println!("{path}: empty");
return;
}
match get_type_from_magic_file_dbs(&PathBuf::from(&path), &magic_files) {
match get_type_from_magic_file_dbs(&PathBuf::from(&path), magic_files) {
Some(f_type) => println!("{path}: {f_type}"),
None => println!("{path}: data"),
}
Expand Down
2 changes: 1 addition & 1 deletion fs/df.rs
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ impl Mount {
let percentage_used = percentage_used.ceil() as u32;

FieldsData {
fields: &fields,
fields: fields,
source: &self.devname,
size: total,
used,
Expand Down
Loading