summaryrefslogtreecommitdiffstats
path: root/src/dracut-cpio
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-03 14:01:36 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-03 14:01:36 +0000
commit70de5d4041249c1a0f597714398cc245f59495c6 (patch)
treeff491e31b95b662ca6c481ac49d1ca8a94c0226b /src/dracut-cpio
parentAdding debian version 060+5-8. (diff)
downloaddracut-70de5d4041249c1a0f597714398cc245f59495c6.tar.xz
dracut-70de5d4041249c1a0f597714398cc245f59495c6.zip
Merging upstream version 102.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/dracut-cpio')
-rw-r--r--src/dracut-cpio/src/main.rs2
1 files changed, 1 insertions, 1 deletions
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<W: Seek + Write>(
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;