Skip to content

Commit a9d9272

Browse files
Johan-Liebert1cgwalters
authored andcommitted
tar: Fix typo gnu_longlink
Signed-off-by: Johan-Liebert1 <[email protected]>
1 parent 5629404 commit a9d9272

File tree

1 file changed

+1
-1
lines changed
  • crates/composefs-oci/src

1 file changed

+1
-1
lines changed

crates/composefs-oci/src/tar.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ pub fn get_entry<R: Read, ObjectID: FsVerityHashValue>(
198198
// The `tar` crate does have a higher level `path` function that would do this for us.
199199
// See: https://github.com/alexcrichton/tar-rs/blob/a1c3036af48fa02437909112239f0632e4cfcfae/src/header.rs#L1532
200200
// Similar operation is performed for GNULongName
201-
gnu_longname.pop_if(|x| *x == b'\0');
201+
gnu_longlink.pop_if(|x| *x == b'\0');
202202

203203
continue;
204204
}

0 commit comments

Comments
 (0)