diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2010-11-25 18:36:44 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2010-11-25 18:36:44 +0000 |
| commit | 1e7a698a31ff66a50baadb26a9b2a54b8896f3bd (patch) | |
| tree | 7fb434479af2e2b02b32b54ca0e7312065b0f6ed /sys/boot | |
| parent | a35d3535ee28d2b9eda4e9b0eeedf8bf31f95ca3 (diff) | |
| parent | 5c0612b199d97b6bc402d6cb4b08c9e62f24bfdb (diff) | |
Notes
Diffstat (limited to 'sys/boot')
| -rw-r--r-- | sys/boot/common/load_elf.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/boot/common/load_elf.c b/sys/boot/common/load_elf.c index 35b3f0bfd8cd..f0880b1eaa3c 100644 --- a/sys/boot/common/load_elf.c +++ b/sys/boot/common/load_elf.c @@ -453,7 +453,8 @@ __elfN(loadimage)(struct preloaded_file *fp, elf_file_t ef, u_int64_t off) } result = archsw.arch_readin(ef->fd, lastaddr, shdr[i].sh_size); if (result < 0 || (size_t)result != shdr[i].sh_size) { - printf("\nelf" __XSTRING(__ELF_WORD_SIZE) "_loadimage: could not read symbols - skipped!"); + printf("\nelf" __XSTRING(__ELF_WORD_SIZE) "_loadimage: could not read symbols - skipped! (%ju != %ju)", (uintmax_t)result, + (uintmax_t)shdr[i].sh_size); lastaddr = ssym; ssym = 0; goto nosyms; |
