![]() ![]() | ![]() |
version 1.5, 2014/02/05 23:11:55 | version 1.5.2.1, 2014/02/05 23:31:26 |
---|---|
Line 123 FillStore(int img, int fd) | Line 123 FillStore(int img, int fd) |
if (wlen == -1) { | if (wlen == -1) { |
ESYSERR(0); | ESYSERR(0); |
return -1; | return -1; |
} else if (!wlen || wlen != rlen) { | } else if (wlen && wlen != rlen) { |
EERROR(EIO, "Readed %d bytes are not equal to written %d bytes\n", | EERROR(EIO, "Readed %d bytes are not equal to written %d bytes\n", |
rlen, wlen); | rlen, wlen); |
} else | } else |