Skip to content
Commit 59715754 authored by Sean Anderson's avatar Sean Anderson Committed by Marek Vasut
Browse files

part: Give several functions more useful return values



Several functions in disk/part.c just return -1 on error. This makes them
return different errnos for different failures. This helps callers
differentiate between failures, even if they cannot read stdout.

Signed-off-by: default avatarSean Anderson <sean.anderson@seco.com>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
parent d4f22cb3
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