imx: romapi: fix spurious ampersand in address print
Fix spurious ampersand in address print e.g. Find img info 0x&480331a0, size 855 Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com> Reviewed-by: Michael Trimarchi <michael@amarulasolutions.com>"
This commit is contained in:
parent
0c2c1c9415
commit
a8e518b80a
@ -288,7 +288,7 @@ static int spl_romapi_load_image_stream(struct spl_image_info *spl_image,
|
||||
}
|
||||
|
||||
imagesize = img_info_size(phdr);
|
||||
printf("Find img info 0x&%p, size %d\n", phdr, imagesize);
|
||||
printf("Find img info 0x%p, size %d\n", phdr, imagesize);
|
||||
|
||||
if (p - phdr < imagesize) {
|
||||
imagesize -= p - phdr;
|
||||
|
Loading…
Reference in New Issue
Block a user