diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-10-08 11:34:22 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-10-08 11:34:22 -0600 |
commit | 59ac0e4d0352fad72b80018438e350ba405294b5 (patch) | |
tree | e11ebcb862370c10e4d8633d77673d4377d51a66 /apps/examples/cc3000/cc3000basic.c | |
parent | 68c842108f9509299434ceb6f1595f0e4ddd4505 (diff) | |
download | nuttx-59ac0e4d0352fad72b80018438e350ba405294b5.tar.gz nuttx-59ac0e4d0352fad72b80018438e350ba405294b5.tar.bz2 nuttx-59ac0e4d0352fad72b80018438e350ba405294b5.zip |
Update everything under apps/ to use the corrected syslog interfaces
Diffstat (limited to 'apps/examples/cc3000/cc3000basic.c')
-rw-r--r-- | apps/examples/cc3000/cc3000basic.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/examples/cc3000/cc3000basic.c b/apps/examples/cc3000/cc3000basic.c index 19ff1a8c8..db6215762 100644 --- a/apps/examples/cc3000/cc3000basic.c +++ b/apps/examples/cc3000/cc3000basic.c @@ -195,10 +195,10 @@ static void _stkmon_disp(FAR struct tcb_s *tcb, FAR void *arg) #if CONFIG_TASK_NAME_SIZE > 0 strncpy(buff,tcb->name,CONFIG_TASK_NAME_SIZE); buff[CONFIG_TASK_NAME_SIZE] = '\0'; - syslog("%5d %6d %6d %s\n", + syslog(LOG_INFO, "%5d %6d %6d %s\n", tcb->pid, tcb->adj_stack_size, up_check_tcbstack(tcb), buff); #else - syslog("%5d %6d %6d\n", + syslog(LOG_INFO, "%5d %6d %6d\n", tcb->pid, tcb->adj_stack_size, up_check_tcbstack(tcb)); #endif } @@ -256,9 +256,9 @@ static bool wait_on(long timeoutMs, volatile unsigned long *what, void stkmon_disp(void) { #if CONFIG_TASK_NAME_SIZE > 0 - syslog("%-5s %-6s %-6s %s\n", "PID", "SIZE", "USED", "THREAD NAME"); + syslog(LOG_INFO, "%-5s %-6s %-6s %s\n", "PID", "SIZE", "USED", "THREAD NAME"); #else - syslog("%-5s %-6s %-6s\n", "PID", "SIZE", "USED"); + syslog(LOG_INFO, "%-5s %-6s %-6s\n", "PID", "SIZE", "USED"); #endif sched_foreach(_stkmon_disp, NULL); } |