Merge pull request #237 from neilt6/master

Add newline character to stack allocation error
pull/238/head
Bogdan Marinescu 2014-03-28 17:27:22 +00:00
commit 3dd4af0833
1 changed files with 1 additions and 1 deletions

View File

@ -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