Use correct format string

This commit is contained in:
Bruce Leidl 2020-08-05 11:22:48 -04:00
parent 7b8cc0c9d4
commit 04df758fbb

View File

@ -28,7 +28,7 @@ impl Verity {
let image = image.as_ref(); let image = image.as_ref();
let output = output.as_ref(); let output = output.as_ref();
// Don't use absolute path to veritysetup so that the build will correctly find the version from cryptsetup-native // Don't use absolute path to veritysetup so that the build will correctly find the version from cryptsetup-native
let output = cmd_with_output!("veritysetup", "format {:?} {}", image.display(), output.display())?; let output = cmd_with_output!("veritysetup", "format {} {}", image.display(), output.display())?;
Ok(VerityOutput::parse(&output)) Ok(VerityOutput::parse(&output))
} }