Skip to content
Commit 4cc73f63 authored by Roy.Li's avatar Roy.Li Committed by Joe MacDonald
Browse files

tftp-hpa: fix the empty file writing error



make write_behind to return 0 if a empty file is written, to
distinguish a true writing failure[on which the write_behind
will return -1], then the annoying wrong log will disappear.
    ____
    |Error code 3: Disk full or allocation exceeded
    -----
Signed-off-by: default avatarRoy.Li <rongqing.li@windriver.com>
Signed-off-by: default avatarJoe MacDonald <joe_macdonald@mentor.com>
parent 15ccbddc
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment