From aa77255720ceb50282467c91e19cac474eb8a752 Mon Sep 17 00:00:00 2001 From: Gwilym Inzani <gw@ilym.me> Date: Thu, 6 Apr 2023 21:10:03 +0100 Subject: [PATCH] Correct error message --- agb-gbafix/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agb-gbafix/src/main.rs b/agb-gbafix/src/main.rs index e3c0d3a4..1f07d457 100644 --- a/agb-gbafix/src/main.rs +++ b/agb-gbafix/src/main.rs @@ -35,7 +35,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> { let (data, compression) = elf_file.section_data(§ion_header)?; if let Some(compression) = compression { - panic!("Cannot compress elf content, but got compression header {compression:?}"); + panic!("Cannot decompress elf content, but got compression header {compression:?}"); } buf_writer.write_all(data)?;