openwrt/package/system/mtd
John Crispin b48b7a7689 mtd: fix md5sum error checking
In mtd_verify(), the return value of md5sum() has been
interpreted as error if nonzero, while the function
returns number of processed bytes, which caused
mtd_verify() to always fail.

This patch fixes error checking to interpret only
negative values as errors.

Signed-off-by: Zefir Kurtisi <zefir.kurtisi@neratec.com>

SVN-Revision: 44605
2015-03-05 20:25:02 +00:00
..
src mtd: fix md5sum error checking 2015-03-05 20:25:02 +00:00
Makefile license info - revert r43155 2014-11-03 09:56:44 +00:00