lx_dump: modules are indexed from 1, not zero.

This commit is contained in:
Ryan C. Gordon committed 2016-09-19 23:08:25 -04:00
1 parent dbacb96215
commit 45eebeaa3f
1 file changed
+1 -1
+1 -1
View File
@@ -441,7 +441,7 @@ static void parseExe(const char *exefname, uint8 *exe, uint32 exelen)
memcpy(name, import_modules_table, namelen);
import_modules_table += namelen;
name[namelen] = '\0';
printf("%u: %s\n", (unsigned int) i, name);
printf("%u: %s\n", (unsigned int) i+1, name);
}
#if 0