Browse Source

Minor debug improvement

tags/v0.9.3
Michael Brown 17 years ago
parent
commit
07e11f8af9
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      src/arch/i386/image/bzimage.c

+ 2
- 1
src/arch/i386/image/bzimage.c View File

327
 	copy_from_user ( bzhdr, image->data, BZI_HDR_OFFSET,
327
 	copy_from_user ( bzhdr, image->data, BZI_HDR_OFFSET,
328
 			 sizeof ( *bzhdr ) );
328
 			 sizeof ( *bzhdr ) );
329
 	if ( bzhdr->header != BZI_SIGNATURE ) {
329
 	if ( bzhdr->header != BZI_SIGNATURE ) {
330
-		DBGC ( image, "bzImage %p bad signature\n", image );
330
+		DBGC ( image, "bzImage %p bad signature %08lx\n",
331
+		       image, bzhdr->header );
331
 		return -ENOEXEC;
332
 		return -ENOEXEC;
332
 	}
333
 	}
333
 
334
 

Loading…
Cancel
Save