summaryrefslogtreecommitdiffstats
path: root/src/dracut-cpio
diff options
context:
space:
mode:
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;