diff options
Diffstat (limited to 'commands/memtest.c')
-rw-r--r-- | commands/memtest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/memtest.c b/commands/memtest.c index 16cc7ccb94..f44459abc1 100644 --- a/commands/memtest.c +++ b/commands/memtest.c @@ -51,7 +51,7 @@ static int mem_test(ulong _start, ulong _end, ulong pattern_unused) #ifdef CFG_MEMTEST_SCRATCH vu_long *dummy = (vu_long*)CFG_MEMTEST_SCRATCH; #else - vu_long *dummy = 0; /* yes, this is address 0x0, not NULL */ + vu_long *dummy = start; #endif int j; int iterations = 1; |