aboutsummaryrefslogtreecommitdiff
path: root/cmd/bedbug.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/bedbug.c')
-rw-r--r--cmd/bedbug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/bedbug.c b/cmd/bedbug.c
index 81ce256..684e4a9 100644
--- a/cmd/bedbug.c
+++ b/cmd/bedbug.c
@@ -348,7 +348,7 @@ int do_bedbug_stack(struct cmd_tbl *cmdtp, int flag, int argc,
return 1;
}
- top = gd->bd->bi_memstart + gd->bd->bi_memsize;
+ top = gd->ram_start + gd->ram_size;
depth = 0;
printf ("Depth PC\n");