Lines Matching full:fprintf
76 fprintf(stderr, "%s [-d <dev>] [-f file] [-s sparesize] [-vh]\n"
87 fprintf(stderr, "%s: invalid option -%c\n",
94 fprintf(stderr, "%s: extra arguments\n", argv[0]);
98 fprintf(stderr, "%s: specify device name\n", argv[0]);
104 fprintf(stderr, "cannot open %s, %s\n", devname, strerror(errno));
111 fprintf(stderr, "cannot open %s, %s\n", filename, strerror(errno));
119 fprintf(stderr, "cannot open %s, %s\n", statusfilename, strerror(errno));
126 fprintf(stderr, "failed get mtd info for %s, %s\n",
140 fprintf(stderr, "failed allocate readbuffer size %u\n",
152 fprintf(stderr, "failed get ecc layout for %s, %s\n",
165 fprintf(stderr, "failed get ecc stats for %s, %s\n",
182 fprintf(stderr, "failed set raw mode for %s, %s\n",
196 fprintf(stderr, "short read at %llx, %d\n", pos, ret);
203 fprintf(stderr, "failed to read oob data at %llx, %d\n", pos, ret);
209 fprintf(stderr, "failed get ecc stats for %s, %s\n",
244 fprintf(stderr, "short write at %llx, %d\n", pos, ret);
249 fprintf(statusfile, "%08llx: ecc corrected\n", opos);
251 fprintf(statusfile, "%08llx: ecc failed\n", opos);
253 fprintf(statusfile, "%08llx: badblock\n", opos);
255 fprintf(statusfile, "%08llx: read error\n", opos);
271 fprintf(statusfile, "read %d pages, %d empty\n", page_count, empty_pages);
272 fprintf(statusfile, "total ecc corrected, %u\n", ecc.corrected - initial_ecc.corrected);
273 fprintf(statusfile, "total ecc failed, %u\n", ecc.failed - initial_ecc.failed);
274 fprintf(statusfile, "total ecc badblocks, %u\n", ecc.badblocks - initial_ecc.badblocks);
275 fprintf(statusfile, "total ecc bbtblocks, %u\n", ecc.bbtblocks - initial_ecc.bbtblocks);