summaryrefslogtreecommitdiff
path: root/board/xilinx/xilinx_iic
diff options
context:
space:
mode:
Diffstat (limited to 'board/xilinx/xilinx_iic')
-rw-r--r--board/xilinx/xilinx_iic/iic_adapter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/xilinx/xilinx_iic/iic_adapter.c b/board/xilinx/xilinx_iic/iic_adapter.c
index 0b7de7b..5ad4a0c 100644
--- a/board/xilinx/xilinx_iic/iic_adapter.c
+++ b/board/xilinx/xilinx_iic/iic_adapter.c
@@ -329,7 +329,7 @@ convert_env(void)
if (s != NULL) {
sprintf(temp, "%c%c.%c%c.%c%c.%c%c.%c%c.%c%c",
s[0], s[1], s[ 2], s[ 3],
- s[4], s[5], s[ 6], s[ 7],
+ s[4], s[5], s[ 6], s[ 7],
s[8], s[9], s[10], s[11] );
setenv("ethaddr", temp);
setenv("E", NULL);