Skip to contentSkip to conversation

ppc64: Fix typo in zImage boot wrapper

PATCH New Benjamin Herrenschmidt 1 participant 1 message Oct 22, 2004

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ppc64: Fix typo in zImage boot wrapper

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

===== arch/ppc64/boot/main.c 1.9 vs edited =====

arch/ppc64/boot/main.c +1 -1
@@ -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);