summaryrefslogtreecommitdiffstats
path: root/src/arch/i386
diff options
context:
space:
mode:
authorMichael Brown2007-07-19 18:01:21 +0200
committerMichael Brown2007-07-19 18:01:21 +0200
commit07e11f8af9fb33361c037118d981334e773de674 (patch)
tree21d32510a1ee33bba1d6965496388ec93b9d2194 /src/arch/i386
parentDon't trash the %ecx value returned by relocate(). This was causing (diff)
downloadipxe-07e11f8af9fb33361c037118d981334e773de674.tar.gz
ipxe-07e11f8af9fb33361c037118d981334e773de674.tar.xz
ipxe-07e11f8af9fb33361c037118d981334e773de674.zip
Minor debug improvement
Diffstat (limited to 'src/arch/i386')
-rw-r--r--src/arch/i386/image/bzimage.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/arch/i386/image/bzimage.c b/src/arch/i386/image/bzimage.c
index f023fcf15..3a3e82efc 100644
--- a/src/arch/i386/image/bzimage.c
+++ b/src/arch/i386/image/bzimage.c
@@ -327,7 +327,8 @@ static int bzimage_load_header ( struct image *image,
copy_from_user ( bzhdr, image->data, BZI_HDR_OFFSET,
sizeof ( *bzhdr ) );
if ( bzhdr->header != BZI_SIGNATURE ) {
- DBGC ( image, "bzImage %p bad signature\n", image );
+ DBGC ( image, "bzImage %p bad signature %08lx\n",
+ image, bzhdr->header );
return -ENOEXEC;
}