]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
net: Fix arguments in tftpput command
authorSimon Glass <sjg@chromium.org>
Mon, 19 Dec 2011 16:10:43 +0000 (16:10 +0000)
committerWolfgang Denk <wd@denx.de>
Tue, 20 Dec 2011 22:12:32 +0000 (23:12 +0100)
commit38bd80b4856254916e886488f8e455e3bc15fdbe
tree0ff9a38e5f760f1c8e7ca44d80818254744bcccc
parentbf0b6313433819899c49d8d6fb30b4d702226f1e
net: Fix arguments in tftpput command

The switch to strict_strtoul() was not done correctly - this fixes
the compile error when CONFIG_CMD_TFTPPUT is active.

There appears to very little use of strict_strtoul() in commands, so
it might be easier to switch to simple_strtoul(). If not, we should
decide the best way to use strict_strtoul(). For now I have added a
friendly message which will of course increase code size.

Signed-off-by: Simon Glass <sjg@chromium.org>
common/cmd_net.c