Skip to content
Commit 80e62ccf authored by Sean Anderson's avatar Sean Anderson Committed by Tom Rini
Browse files

arm: smh: Return errno on error



Instead of printing in what are now library functions, try to return a
numeric error code. This also adjust some functions (such as read) to
behave more similarly to read(2). For example, we now return the number
of bytes read instead of failing immediately on a short read.

Signed-off-by: default avatarSean Anderson <sean.anderson@seco.com>
parent eff77c3a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment