1
0
Fork 0

bootstage: Correct printf types

The unstash code is a bit loose with its printf() types, which gives
warnings on sandbox. Correct this.

Signed-off-by: Simon Glass <sjg@chromium.org>
utp
Simon Glass 2013-06-11 11:14:37 -07:00 committed by Tom Rini
parent aec36cfdac
commit 5d3bd34545
1 changed files with 2 additions and 2 deletions

View File

@ -445,9 +445,9 @@ int bootstage_unstash(void *base, int size)
}
if (hdr->count * sizeof(*rec) > hdr->size) {
debug("%s: Bootstage has %d records needing %d bytes, but "
debug("%s: Bootstage has %d records needing %lu bytes, but "
"only %d bytes is available\n", __func__, hdr->count,
hdr->count * sizeof(*rec), hdr->size);
(ulong)hdr->count * sizeof(*rec), hdr->size);
return -1;
}