From 504ef3a894ef313e73804743ba6b06ba72bd2b76 Mon Sep 17 00:00:00 2001 From: Neil Thiessen Date: Fri, 28 Mar 2014 11:22:16 -0600 Subject: [PATCH] Add newline character to stack allocation error --- libraries/rtos/rtos/Thread.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/rtos/rtos/Thread.cpp b/libraries/rtos/rtos/Thread.cpp index ed9e317c08..ef5ea3a8b5 100644 --- a/libraries/rtos/rtos/Thread.cpp +++ b/libraries/rtos/rtos/Thread.cpp @@ -37,7 +37,7 @@ Thread::Thread(void (*task)(void const *argument), void *argument, } else { _thread_def.stack_pointer = new unsigned char[stack_size]; if (_thread_def.stack_pointer == NULL) - error("Error allocating the stack memory"); + error("Error allocating the stack memory\n"); _dynamic_stack = true; } #endif