diff options
Diffstat (limited to 'demos/Win32-MinGW/main.c')
-rw-r--r-- | demos/Win32-MinGW/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/Win32-MinGW/main.c b/demos/Win32-MinGW/main.c index 1418b70ec..aa6d29716 100644 --- a/demos/Win32-MinGW/main.c +++ b/demos/Win32-MinGW/main.c @@ -42,7 +42,7 @@ static void cmd_mem(BaseChannel *chp, int argc, char *argv[]) { return;
}
n = chHeapStatus(NULL, &size);
- sprintf(buf, "core free memory : %i bytes", chCoreFree());
+ sprintf(buf, "core free memory : %i bytes", chCoreStatus());
shellPrintLine(chp, buf);
sprintf(buf, "heap fragments : %i", n);
shellPrintLine(chp, buf);
|