diff --git a/kaleid/kernel/sh/musage.c b/kaleid/kernel/sh/musage.c index b7fba04..6de60af 100644 --- a/kaleid/kernel/sh/musage.c +++ b/kaleid/kernel/sh/musage.c @@ -40,7 +40,7 @@ error_t CmdMemUsage(int argc, char **argv, char *cmdline) ulong flags = KePauseIRQs(); heap_start = (size_t)_heap_start; - heap_end = (size_t)_heap_start; + heap_end = (size_t)_heap_end; heap_max = _heap_max; KeRestoreIRQs(flags);