Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/windirstat/ntfs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'examples/ntfs-shell/main.rs')
-rw-r--r--examples/ntfs-shell/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/ntfs-shell/main.rs b/examples/ntfs-shell/main.rs
index e362250..99e6e04 100644
--- a/examples/ntfs-shell/main.rs
+++ b/examples/ntfs-shell/main.rs
@@ -181,7 +181,7 @@ fn attr_print_attribute<'n>(
let data_run = data_run?;
let instance = format!("{}{}", data_run_prefix, i);
let start = data_run.data_position().unwrap_or(0);
- let length = data_run.len();
+ let length = data_run.allocated_size();
println!(
"{:<10} | {:<20} | {:<8} | {:>13} | {:#18x} | {:>13} |",