The printf() string produces a warning about %d not matching size_t. Fix
it and put the format string on one line to avoid a checkpatch warning.
Signed-off-by: Simon Glass <sjg@chromium.org>
return -1;
}
if (rc != readlen) {
- fprintf(stderr, "Read error on %s: "
- "Attempted to read %d bytes but got %d\n",
+ fprintf(stderr,
+ "Read error on %s: Attempted to read %zd bytes but got %d\n",
DEVNAME(dev), readlen, rc);
return -1;
}