mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
pv: Fix error description
The error texts printed a hardcoded .0 instead of the actual value.
Fix this by using the proper string format arguments.
Reviewed-by: Jan Höppner <hoeppner@linux.ibm.com>
Fixes: 61c5d7d431 ("rust/pv: Attestation generation and verification support")
Signed-off-by: Steffen Eiden <seiden@linux.ibm.com>
Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
committed by
Jan Höppner
parent
ca0ee966b8
commit
7568a0790f
@@ -90,11 +90,11 @@ pub enum Error {
|
||||
#[error("Input does not contain an attestation request")]
|
||||
NoArcb,
|
||||
|
||||
#[error("The attestation request has an unknown version (.0)")]
|
||||
#[error("The attestation request has an unknown version {0}")]
|
||||
BinArcbInvVersion(u32),
|
||||
|
||||
#[error(
|
||||
"The attestation request encrypted sice is to0 small (.0). Request probably tampered with."
|
||||
"The attestation request encrypted sice is to0 small {0}. Request probably tampered with."
|
||||
)]
|
||||
BinArcbSeaSmall(u32),
|
||||
|
||||
|
||||
Reference in New Issue
Block a user