barebox-state: fix error message
Negative errnos result into "Unknown error -22" instead of "Invalid
argument". The latter is more helpful, while the first is mostly useless.

Signed-off-by: Juergen Borleis <jbe@pengutronix.de>
1 parent 93aacef commit 8c3b39c893074887b44b8bc8c42c5679ae09e427
@Juergen Borleis Juergen Borleis authored on 29 Jan 2019
Showing 1 changed file
View
src/barebox-state.c