Fix bug in error message.
This commit is contained in:
@@ -518,7 +518,8 @@ static char *flat_read_stringtable(struct inbuf *inb, int offset)
|
|||||||
p = inb->base + offset;
|
p = inb->base + offset;
|
||||||
while (1) {
|
while (1) {
|
||||||
if (p >= inb->limit)
|
if (p >= inb->limit)
|
||||||
die("String offset %d overruns string table\n");
|
die("String offset %d overruns string table\n",
|
||||||
|
offset);
|
||||||
|
|
||||||
if (*p == '\0')
|
if (*p == '\0')
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user