Skip to content

Commit 3dd4af0

Browse files
committed
Merge pull request #237 from neilt6/master
Add newline character to stack allocation error
2 parents 0f91f3b + 504ef3a commit 3dd4af0

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)