summaryrefslogtreecommitdiff
path: root/examples/ext2.rs
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2022-01-04 00:45:49 -0600
committerAlejandro Soto <alejandro@34project.org>2022-01-04 00:45:49 -0600
commit32958e3116c6afe91d4b358c310737e2619e49b1 (patch)
treed6c89096e2f1e8a245242b7fe8fe3598c7be2862 /examples/ext2.rs
parentb1ffa39a060d68d162e3348e339dc2ea1163ff28 (diff)
Add example: passthrough
Diffstat (limited to 'examples/ext2.rs')
-rw-r--r--examples/ext2.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/ext2.rs b/examples/ext2.rs
index b085960..f82b34a 100644
--- a/examples/ext2.rs
+++ b/examples/ext2.rs
@@ -164,7 +164,7 @@ impl Ext2 {
}
let ino = Ino(header.inode as u64);
- let name = OsStr::from_bytes(&bytes[..header.name_len as usize]).into();
+ let name = OsStr::from_bytes(&bytes[..header.name_len as usize]);
let inode = Resolved {
ino,