Skip to content

Commit

Permalink
Fix size on disk for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
jesseschalken authored Nov 3, 2024
1 parent 0130a59 commit 38004d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/uu/du/src/du.rs
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ impl Stat {
size: if options.apparent_size {
if metadata.is_dir() { 0 } else { metadata.len() }
} else {
get_size_on_disk(path) * 512
get_size_on_disk(path)
},
inodes: 1,
inode: file_info,
Expand Down

0 comments on commit 38004d3

Please sign in to comment.