commands: ubiupdatevol: store return value of read() in a signed int
With an unsigned int test for errors from read() can never become true.

Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent f7a2e37 commit 90494c6f7e6036c1bfb614aeca81dbe2d362fd5a
@Ulrich Ölmann Ulrich Ölmann authored on 5 Sep 2016
Sascha Hauer committed on 6 Sep 2016
Showing 1 changed file
View
commands/ubi.c