summaryrefslogtreecommitdiffstats
path: root/cpu/ppc4xx/tlb.c
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2008-07-10 09:58:06 +0200
committerStefan Roese <sr@denx.de>2008-07-10 09:58:06 +0200
commitb002144e1dc21374b1ef5281fe6b5d014af96650 (patch)
tree896b31b7743d5d8a736e1f807bf32a95ec117f18 /cpu/ppc4xx/tlb.c
parent5d812b8b4ad9667c77a5bf92b4ba81699abc9fc3 (diff)
downloadblackbird-obmc-uboot-b002144e1dc21374b1ef5281fe6b5d014af96650.tar.gz
blackbird-obmc-uboot-b002144e1dc21374b1ef5281fe6b5d014af96650.zip
ppc4xx: Fix printf format warnings now visible with the updated format check
This patch fixes ppc4xx related printf format warning. Those warnings are now visible since patch dc4b0b38d4aadf08826f6c31270f1eecd27964fd [Fix printf errors.] by Andrew Klossner has been applied. Thanks, this is really helpful. Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'cpu/ppc4xx/tlb.c')
-rw-r--r--cpu/ppc4xx/tlb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpu/ppc4xx/tlb.c b/cpu/ppc4xx/tlb.c
index f44822dbab..24a9a9cc28 100644
--- a/cpu/ppc4xx/tlb.c
+++ b/cpu/ppc4xx/tlb.c
@@ -316,12 +316,12 @@ static void program_tlb_addr(u64 phys_addr,
virt_addr += TLB_1KB_SIZE;
}
} else {
- printf("ERROR: no TLB size exists for the base address 0x%0X.\n",
+ printf("ERROR: no TLB size exists for the base address 0x%llx.\n",
phys_addr);
}
if (rc != 0)
- printf("ERROR: no TLB entries available for the base addr 0x%0X.\n",
+ printf("ERROR: no TLB entries available for the base addr 0x%llx.\n",
phys_addr);
}
OpenPOWER on IntegriCloud