
18 Apr
2013
18 Apr
'13
3:54 p.m.
Dear Mike Dunn,
[...]
- if (argc != 3) {
printf("usage: %s <image file> <mtd dev node>\n", argv[0]);
btw is this /dev/mtdX or /dev/mtdblockX ?
return -1;
errno.h didn't work? Like ... return -EINVAL or such ?
[...]
- blockbuf = calloc(RELIABLE_BLOCKSIZE, 1);
calloc() semantics are misunderstood by so many :-(
[...]
Best regards, Marek Vasut