aboutsummaryrefslogtreecommitdiff
path: root/src/libmach/map.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libmach/map.c')
-rw-r--r--src/libmach/map.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libmach/map.c b/src/libmach/map.c
index 144b7042..2745dd4c 100644
--- a/src/libmach/map.c
+++ b/src/libmach/map.c
@@ -174,7 +174,7 @@ get8(Map *map, ulong addr, u64int *u)
{
u64int v;
- if(mrw(map, addr, &v, 4, 1) < 0)
+ if(mrw(map, addr, &v, 8, 1) < 0)
return -1;
*u = mach->swap8(v);
return 8;