summaryrefslogtreecommitdiffstats
path: root/package/mtd
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-10-02 18:31:26 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-10-02 18:31:26 +0000
commit816a2302d9836821cbe2fdb8d214dbd2d0ec1b7f (patch)
tree35cf4be1bd918fda13364e430ec3ad88f93514a2 /package/mtd
parent64c023294fb2524bbb2a0839732a7f4e48cd6f5f (diff)
remove accidentally committed debug message
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12827 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 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);