[LinuxBIOS] Patch for fix lbtdump segmentation fault

Ben Hewson ben at hewson-venieri.com
Thu May 10 20:53:36 CEST 2007


Here is a small fix to prevent a segmentation fault in lbtdump.

the format specifier in the printf statements have been changed from 
%08lx to %08llx or similar
where uint64_t are being displayed.


Signed-off-by: Ben Hewson <ben at hewson-venieri.com>

-----------------------------------------------------------------------------------------------------------------------------------

I am not sure if this is a problem on GCC v4.x however on my V3.3.6 the 
compiler warns about the printf statements
and lbtdump seg faults when run. This patch seem to fix the problem.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: lbtdump.diff
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20070510/b259df47/attachment.ksh>


More information about the coreboot mailing list