From b46e099ec01b93f14a85a0a47faa60391a557d62 Mon Sep 17 00:00:00 2001 From: Brad Campbell Date: Mon, 31 Jul 2023 23:57:04 -0400 Subject: [PATCH] fix protected region size warning Should only display if command line was overridden. --- src/convert.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/convert.rs b/src/convert.rs index d97c759..f5b2f37 100644 --- a/src/convert.rs +++ b/src/convert.rs @@ -461,7 +461,7 @@ pub fn elf_to_tbf( // // If we have also been passed a fixed protected region size on the // command line, warn that the ELF symbol will take precedence! - if protected_region_size_symbol.is_some() { + if protected_region_size_arg.is_some() { println!( "Overriding command-line specified protected_region_size \ with tbf_protected_region_size symbol = {} bytes!",