summaryrefslogtreecommitdiffstats
path: root/board/davinci/dv-evm
diff options
context:
space:
mode:
authorksi@koi8.net <ksi@koi8.net>2007-08-14 10:02:16 -0700
committerWolfgang Denk <wd@denx.de>2007-08-14 20:58:04 +0200
commitb361acd64fd2525c081b9b288b0804efe209c0e9 (patch)
tree2f5ef99bf758ef2051a05b368b57acea587f0e61 /board/davinci/dv-evm
parent541d41b2f23182047c0d655ad8d795f33dd37df2 (diff)
downloadu-boot-b361acd64fd2525c081b9b288b0804efe209c0e9.tar.gz
u-boot-b361acd64fd2525c081b9b288b0804efe209c0e9.tar.xz
u-boot-b361acd64fd2525c081b9b288b0804efe209c0e9.zip
TI DaVinci - fix unsupported %hhx format
Signed-off-by: Sergey Kubushyn <ksi@koi8.net>
Diffstat (limited to 'board/davinci/dv-evm')
-rw-r--r--board/davinci/dv-evm/dv_board.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/davinci/dv-evm/dv_board.c b/board/davinci/dv-evm/dv_board.c
index 94925ecfb1..604edb56c3 100644
--- a/board/davinci/dv-evm/dv_board.c
+++ b/board/davinci/dv-evm/dv_board.c
@@ -181,7 +181,7 @@ int misc_init_r (void)
tmp[0] &= buf[i];
if ((tmp[0] != 0xff) && (getenv("ethaddr") == NULL)) {
- sprintf((char *)&tmp[0], "%02hhx:%02hhx:%02hhx:%02hhx:%02hhx:%02hhx",
+ sprintf((char *)&tmp[0], "%02x:%02x:%02x:%02x:%02x:%02x",
buf[0], buf[1], buf[2], buf[3], buf[4], buf[5]);
setenv("ethaddr", (char *)&tmp[0]);
}