mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-23 16:21:33 +11:00
Correct error message
This commit is contained in:
parent
16c3395524
commit
aa77255720
|
@ -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)?;
|
||||
|
|
Loading…
Reference in a new issue