mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-24 00:31:34 +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)?;
|
let (data, compression) = elf_file.section_data(§ion_header)?;
|
||||||
if let Some(compression) = compression {
|
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)?;
|
buf_writer.write_all(data)?;
|
||||||
|
|
Loading…
Reference in a new issue