summaryrefslogtreecommitdiff
path: root/package/mtd
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-10-02 18:31:26 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-10-02 18:31:26 +0000
commit0d7121769524c1a3f8803667fe4d6eca635fca63 (patch)
treec714b6468fa264a75848df1b6c733f0c54299d31 /package/mtd
parent8f567ff7289153d6f16dac251f404f30f6aa14ac (diff)
downloadmtk-20170518-0d7121769524c1a3f8803667fe4d6eca635fca63.zip
mtk-20170518-0d7121769524c1a3f8803667fe4d6eca635fca63.tar.gz
mtk-20170518-0d7121769524c1a3f8803667fe4d6eca635fca63.tar.bz2
remove accidentally committed debug message
SVN-Revision: 12827
Diffstat (limited to 'package/mtd')
-rw-r--r--package/mtd/src/mtd.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/package/mtd/src/mtd.c b/package/mtd/src/mtd.c
index 3e84fd6..761139f 100644
--- a/package/mtd/src/mtd.c
+++ b/package/mtd/src/mtd.c
@@ -276,10 +276,8 @@ mtd_write(int imagefd, const char *mtd)
}
}
- if (r == 0) {
- fprintf(stderr, "No more data left\n");
+ if (r == 0)
break;
- }
buflen += r;
} while (buflen < erasesize);