From 816a2302d9836821cbe2fdb8d214dbd2d0ec1b7f Mon Sep 17 00:00:00 2001 From: nbd Date: Thu, 2 Oct 2008 18:31:26 +0000 Subject: remove accidentally committed debug message git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12827 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/mtd/src/mtd.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'package/mtd') 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); -- cgit v1.2.3