From: nbd Date: Thu, 2 Oct 2008 18:31:26 +0000 (+0000) Subject: remove accidentally committed debug message X-Git-Url: https://git.rohieb.name/openwrt.git/commitdiff_plain/816a2302d9836821cbe2fdb8d214dbd2d0ec1b7f remove accidentally committed debug message git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12827 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/package/mtd/src/mtd.c b/package/mtd/src/mtd.c index 3e84fd696..761139f4e 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);