[PATCH] ppc64: Fix typo in zImage boot wrapper

From: Benjamin Herrenschmidt
Date: Thu Oct 21 2004 - 20:30:42 EST


This patch fixes a typo in the zImage boot wrapper (incorrect printf).

Signed-off-by: Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx>
Signed-off-by: Matthew Dharm <mdharm@xxxxxxxxxxx>

===== arch/ppc64/boot/main.c 1.9 vs edited =====
--- 1.9/arch/ppc64/boot/main.c 2004-09-20 18:17:40 -07:00
+++ edited/arch/ppc64/boot/main.c 2004-10-21 14:17:06 -07:00
@@ -166,7 +166,7 @@
gunzip((void *)vmlinux.addr, vmlinux.size,
(unsigned char *)vmlinuz.addr, &len);
printf("done 0x%lx bytes\n\r", len);
- printf("0x%x bytes of heap consumed, max in use 0x%\n\r",
+ printf("0x%x bytes of heap consumed, max in use 0x%x\n\r",
(unsigned)(avail_high - begin_avail), heap_max);
} else {
memmove((void *)vmlinux.addr,(void *)vmlinuz.addr,vmlinuz.size);


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/