MSP430: Fix calculation of string length in sbrk.c

This commit is contained in:
Jozef Lawrynowicz 2020-09-03 14:00:32 +01:00 committed by Corinna Vinschen
parent 5d962bc718
commit cae21d17ad
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ _sbrk (int adj)
if (heap + adj > sp)
{
const char * const msg = "Heap and stack collision\n";
const char msg[] = "Heap and stack collision\n";
write (1, msg, sizeof (msg) - 1);
abort ();
}