From 70de5d4041249c1a0f597714398cc245f59495c6 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 3 Jun 2024 16:01:36 +0200 Subject: Merging upstream version 102. Signed-off-by: Daniel Baumann --- src/dracut-cpio/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/dracut-cpio') diff --git a/src/dracut-cpio/src/main.rs b/src/dracut-cpio/src/main.rs index c3bfe90..89662fe 100644 --- a/src/dracut-cpio/src/main.rs +++ b/src/dracut-cpio/src/main.rs @@ -286,7 +286,7 @@ fn archive_path( mut writer: W, ) -> std::io::Result<()> { let inpath = path; - let mut outpath = path.clone(); + let mut outpath = path; let mut datalen: u32 = 0; let mut rmajor: u32 = 0; let mut rminor: u32 = 0; -- cgit v1.2.3