aboutsummaryrefslogtreecommitdiffstats
path: root/package/mtd/src/mtd.c
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
commit9dba055a7768124547e7078855a1587499a5a9fe (patch)
tree35cf4be1bd918fda13364e430ec3ad88f93514a2 /package/mtd/src/mtd.c
parent49cdf61961eae2d5b688cd10f11f89029fb2c01f (diff)
downloadupstream-9dba055a7768124547e7078855a1587499a5a9fe.tar.gz
upstream-9dba055a7768124547e7078855a1587499a5a9fe.tar.bz2
upstream-9dba055a7768124547e7078855a1587499a5a9fe.zip
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/src/mtd.c')
-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 3e84fd696e..761139f4e7 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);