Use correct format string
This commit is contained in:
parent
7b8cc0c9d4
commit
04df758fbb
@ -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))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user