commands: ubiupdatevol: confirm success with return value 0
Treat the write() case analogously to the read() case and do not return the
number of most recently written bytes as the status of sucessful command
execution.

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