Add CONFIG_DEBUG_ERROR. Change names of *dbg() * *err()

This commit is contained in:
Gregory Nutt
2016-06-11 15:50:49 -06:00
parent e99301d7c2
commit a1469a3e95
1091 changed files with 5971 additions and 5966 deletions
+1 -1
View File
@@ -98,7 +98,7 @@ static int thread_create(FAR const char *name, uint8_t ttype, int priority,
tcb = (FAR struct task_tcb_s *)kmm_zalloc(sizeof(struct task_tcb_s));
if (!tcb)
{
sdbg("ERROR: Failed to allocate TCB\n");
serr("ERROR: Failed to allocate TCB\n");
errcode = ENOMEM;
goto errout;
}