summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/nlist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nlist.c b/src/nlist.c
index 1db6a06..e1815c6 100644
--- a/src/nlist.c
+++ b/src/nlist.c
@@ -155,7 +155,7 @@ __aout_fdnlist(fd, list)
}
symoff = N_SYMOFF(*exec);
- symsize = exec->a_syms;
+ symsize = N_SYMSIZE(*exec);
stroff = symoff + symsize;
/* find the string table in our mmapped area */