public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e6ffc5
)
binmunge: improve debug info
author
Alan Cox
<alan@linux.intel.com>
Fri, 21 Sep 2018 22:40:52 +0000
(23:40 +0100)
committer
Alan Cox
<alan@linux.intel.com>
Fri, 21 Sep 2018 22:40:52 +0000
(23:40 +0100)
Kernel/tools/binmunge.c
patch
|
blob
|
history
diff --git
a/Kernel/tools/binmunge.c
b/Kernel/tools/binmunge.c
index
b898eda
..
b7f9ebe
100644
(file)
--- a/
Kernel/tools/binmunge.c
+++ b/
Kernel/tools/binmunge.c
@@
-181,8
+181,8
@@
void code_reloc(uint8_t sbank, uint16_t ptr, uint8_t dbank)
buf[sbank][ptr] = da >> 8;
break;
default:
- fprintf(stderr, "Bad relocation in code %04X: %02X\n",
- ptr-1, buf[sbank][ptr-1]);
+ fprintf(stderr, "Bad relocation in code
(%02X)
%04X: %02X\n",
+
sbank,
ptr-1, buf[sbank][ptr-1]);
}
}