summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorthl <thl@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-11-20 19:04:00 +0000
committerthl <thl@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-11-20 19:04:00 +0000
commit117defda1126eff3e69ecb57031def1dbaf70fd9 (patch)
treee1c9f5ed111935643e3601f85615e4882457b210
parent49b34728f956238c5fdbec568be0247fb8be95c6 (diff)
[ifxmips] fix error from last commit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13296 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--target/linux/ifxmips/files/arch/mips/ifxmips/board.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ifxmips/files/arch/mips/ifxmips/board.c b/target/linux/ifxmips/files/arch/mips/ifxmips/board.c
index d8f190761..937737968 100644
--- a/target/linux/ifxmips/files/arch/mips/ifxmips/board.c
+++ b/target/linux/ifxmips/files/arch/mips/ifxmips/board.c
@@ -258,7 +258,7 @@ static int __init ifxmips_set_ethaddr(char *str)
goto out;
if ((i != 5) && (str[(3 * i) + 2] != ':'))
goto out;
- ifxmips_ethaddr[i] = strict_strtoul(&str[3 * i], NULL, 16);
+ ifxmips_ethaddr[i] = simple_strtoul(&str[3 * i], NULL, 16);
}
if (is_valid_ether_addr(ifxmips_ethaddr))
cmdline_mac = 1;