summaryrefslogtreecommitdiffstats
path: root/commands/poweroff.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2012-06-24 13:00:25 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2012-06-24 13:29:52 +0200
commitecf38bff9bdbfbd6d42ed7d08cbb86b7b2558241 (patch)
treec9a41b5fabadf7da69db5a00233fdc15e92744d5 /commands/poweroff.c
parentb62cf8f36d5b71c8328841841f55599553fa8f26 (diff)
downloadbarebox-ecf38bff9bdbfbd6d42ed7d08cbb86b7b2558241.tar.gz
barebox-ecf38bff9bdbfbd6d42ed7d08cbb86b7b2558241.tar.xz
fs tftp: Fix short file transfers
With files smaller than the tftp block size the whole transfer is done in tftp_do_open already. In this case we are in STATE_DONE, but there is no error. Set priv->err to 0 and check for it to be able to transfer small files. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands/poweroff.c')
0 files changed, 0 insertions, 0 deletions