Skip to content

Commit 504ef3a

Browse files
committed
Add newline character to stack allocation error
1 parent 0f91f3b commit 504ef3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/rtos/rtos/Thread.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Thread::Thread(void (*task)(void const *argument), void *argument,
3737
} else {
3838
_thread_def.stack_pointer = new unsigned char[stack_size];
3939
if (_thread_def.stack_pointer == NULL)
40-
error("Error allocating the stack memory");
40+
error("Error allocating the stack memory\n");
4141
_dynamic_stack = true;
4242
}
4343
#endif

0 commit comments

Comments
 (0)