summaryrefslogtreecommitdiff
path: root/cpu/ppc4xx/4xx_enet.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/4xx_enet.c
parent5d812b8b4ad9667c77a5bf92b4ba81699abc9fc3 (diff)
downloadu-boot-imx-b002144e1dc21374b1ef5281fe6b5d014af96650.zip
u-boot-imx-b002144e1dc21374b1ef5281fe6b5d014af96650.tar.gz
u-boot-imx-b002144e1dc21374b1ef5281fe6b5d014af96650.tar.bz2
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/4xx_enet.c')
-rw-r--r--cpu/ppc4xx/4xx_enet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu/ppc4xx/4xx_enet.c b/cpu/ppc4xx/4xx_enet.c
index c40e0ca..4e863dc 100644
--- a/cpu/ppc4xx/4xx_enet.c
+++ b/cpu/ppc4xx/4xx_enet.c
@@ -1076,7 +1076,7 @@ static int ppc_4xx_eth_init (struct eth_device *dev, bd_t * bis)
bd_cached = (u32)malloc_aligned(MAL_ALLOC_SIZE, 4096);
if (!bd_cached) {
- printf("%s: Error allocating MAL descriptor buffers!\n");
+ printf("%s: Error allocating MAL descriptor buffers!\n", __func__);
return -1;
}