diff options
author | Felix Fietkau <nbd@openwrt.org> | 2008-10-02 18:19:02 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2008-10-02 18:19:02 +0000 |
commit | 8f567ff7289153d6f16dac251f404f30f6aa14ac (patch) | |
tree | 325c5de4f83263b160d64f9e423c924fec2f1335 /package/mtd/src/mtd.c | |
parent | b0e7c7ba79625e2331c4898cc1c2b5f39ea7a651 (diff) | |
download | mtk-20170518-8f567ff7289153d6f16dac251f404f30f6aa14ac.zip mtk-20170518-8f567ff7289153d6f16dac251f404f30f6aa14ac.tar.gz mtk-20170518-8f567ff7289153d6f16dac251f404f30f6aa14ac.tar.bz2 |
mtd: fix image check on non-broadcom platforms
SVN-Revision: 12825
Diffstat (limited to 'package/mtd/src/mtd.c')
-rw-r--r-- | package/mtd/src/mtd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/mtd/src/mtd.c b/package/mtd/src/mtd.c index b180aec..3e84fd6 100644 --- a/package/mtd/src/mtd.c +++ b/package/mtd/src/mtd.c @@ -138,7 +138,7 @@ int mtd_write_buffer(int fd, const char *buf, int offset, int length) static int image_check(int imagefd, const char *mtd) { - int ret = 0; + int ret = 1; #ifdef target_brcm ret = trx_check(imagefd, mtd, buf, &buflen); #endif |