Author: attilio Date: Tue Nov 23 18:52:27 2010 New Revision: 215758 URL: http://svn.freebsd.org/changeset/base/215758
Log: Make this printfoutput more verbose. Sponsored by: Sandvine Incorporated Submitted by: Sandvine Incorporated MFC after: 3 days Modified: head/sys/boot/common/load_elf.c Modified: head/sys/boot/common/load_elf.c ============================================================================== --- head/sys/boot/common/load_elf.c Tue Nov 23 18:48:57 2010 (r215757) +++ head/sys/boot/common/load_elf.c Tue Nov 23 18:52:27 2010 (r215758) @@ -453,7 +453,8 @@ __elfN(loadimage)(struct preloaded_file } 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; _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"