diff --git a/src/core/dm.rs b/src/core/dm.rs index a93b2b17..3399192f 100644 --- a/src/core/dm.rs +++ b/src/core/dm.rs @@ -410,7 +410,7 @@ impl DM { ), }; - let data_in = [id_in, &[b'\0']].concat(); + let data_in = [id_in, b"\0"].concat(); let mut hdr = options.to_ioctl_hdr(None, DmFlags::DM_UUID)?; Self::hdr_set_name(&mut hdr, old_name)?;