Minor debug improvement
authorMichael Brown <mcb30@etherboot.org>
Thu, 19 Jul 2007 16:01:21 +0000 (17:01 +0100)
committerMichael Brown <mcb30@etherboot.org>
Thu, 19 Jul 2007 16:01:21 +0000 (17:01 +0100)
src/arch/i386/image/bzimage.c

index f023fcf..3a3e82e 100644 (file)
@@ -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;
        }