mirror of
https://gitlab.com/qemu-project/openbios.git
synced 2024-02-13 08:34:06 +08:00
Fix most print format warnings
git-svn-id: svn://coreboot.org/openbios/openbios-devel@272 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
@@ -106,11 +106,11 @@ int aout_load(struct sys_info *info, const char *filename, const char *cmdline)
|
||||
|
||||
if (N_MAGIC(ehdr) == NMAGIC) {
|
||||
if ((unsigned long)lfile_read((void *)start, ehdr.a_text) != ehdr.a_text) {
|
||||
printf("Can't read program text segment (size 0x%lx)\n", ehdr.a_text);
|
||||
printf("Can't read program text segment (size 0x%x)\n", ehdr.a_text);
|
||||
goto out;
|
||||
}
|
||||
if ((unsigned long)lfile_read((void *)(start + N_DATADDR(ehdr)), ehdr.a_data) != ehdr.a_data) {
|
||||
printf("Can't read program data segment (size 0x%lx)\n", ehdr.a_data);
|
||||
printf("Can't read program data segment (size 0x%x)\n", ehdr.a_data);
|
||||
goto out;
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user