mirror of
https://github.com/dgibson/dtc.git
synced 2025-12-07 05:35:07 -05:00
Fix bug in error message.
This commit is contained in:
parent
1cb934b3aa
commit
7ee3ffd43f
1 changed files with 2 additions and 1 deletions
|
|
@ -518,7 +518,8 @@ static char *flat_read_stringtable(struct inbuf *inb, int offset)
|
|||
p = inb->base + offset;
|
||||
while (1) {
|
||||
if (p >= inb->limit)
|
||||
die("String offset %d overruns string table\n");
|
||||
die("String offset %d overruns string table\n",
|
||||
offset);
|
||||
|
||||
if (*p == '\0')
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue