projects
/
openwrt
/
staging
/
mkresin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f567ff
)
remove accidentally committed debug message
author
Felix Fietkau
<nbd@openwrt.org>
Thu, 2 Oct 2008 18:31:26 +0000
(18:31 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Thu, 2 Oct 2008 18:31:26 +0000
(18:31 +0000)
SVN-Revision: 12827
package/mtd/src/mtd.c
patch
|
blob
|
history
diff --git
a/package/mtd/src/mtd.c
b/package/mtd/src/mtd.c
index 3e84fd696e35b89c869d2f6bd27201686c73d7cf..761139f4e79712f3cc9c6ead371f2b1a29c720b6 100644
(file)
--- 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);