Fix bug in error message.

main
David Gibson 2005-07-11 16:45:57 +10:00
parent 1cb934b3aa
commit 7ee3ffd43f
1 changed files with 2 additions and 1 deletions

View File

@ -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;