From 3f5192730ef7f9271791f980ee4d0eb4ff052a87 Mon Sep 17 00:00:00 2001 From: Christian Ebner Date: Wed, 10 Jul 2019 16:41:01 +0200 Subject: [PATCH] src/pxar/format_definition.rs: fix typo Signed-off-by: Christian Ebner --- src/pxar/format_definition.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pxar/format_definition.rs b/src/pxar/format_definition.rs index f71f302e..ff533824 100644 --- a/src/pxar/format_definition.rs +++ b/src/pxar/format_definition.rs @@ -313,7 +313,7 @@ pub fn compute_goodbye_hash(name: &[u8]) -> u64 { pub fn check_ca_header(head: &CaFormatHeader, htype: u64) -> Result<(), Error> { if head.htype != htype { - bail!("got wrong header type ({:016x} != {:016x}", head.htype, htype); + bail!("got wrong header type ({:016x} != {:016x})", head.htype, htype); } if head.size != (std::mem::size_of::() + std::mem::size_of::()) as u64 { bail!("got wrong header size for type {:016x}", htype);