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 'src/structured_values/file_name.rs')
-rw-r--r--src/structured_values/file_name.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/structured_values/file_name.rs b/src/structured_values/file_name.rs
index 840fa82..7a2edf6 100644
--- a/src/structured_values/file_name.rs
+++ b/src/structured_values/file_name.rs
@@ -167,7 +167,7 @@ mod tests {
assert_eq!(attribute.value_length(), 74);
// Check the actual "file name" of the MFT.
- let value = attribute.read_structured_value(&mut testfs1).unwrap();
+ let value = attribute.structured_value(&mut testfs1).unwrap();
let file_name = match value {
NtfsStructuredValue::FileName(file_name) => file_name,
v => panic!("Unexpected NtfsStructuredValue: {:?}", v),