Fix bug in error message.

This commit is contained in:
David Gibson
2005-07-11 16:45:57 +10:00
parent 1cb934b3aa
commit 7ee3ffd43f

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;