projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
x86: ifdtool: Correct a debug() missing parameter
[platform/kernel/u-boot.git]
/
tools
/
ifdtool.c
diff --git
a/tools/ifdtool.c
b/tools/ifdtool.c
index
4a27b82
..
4cdfdcc
100644
(file)
--- a/
tools/ifdtool.c
+++ b/
tools/ifdtool.c
@@
-54,7
+54,8
@@
static struct fdbar_t *find_fd(char *image, int size)
return NULL;
}
- debug("Found Flash Descriptor signature at 0x%08x\n", i);
+ debug("Found Flash Descriptor signature at 0x%08lx\n",
+ (char *)ptr - image);
return (struct fdbar_t *)ptr;
}