remove typos

This commit is contained in:
Stefan Lankes 2011-09-15 07:05:59 -07:00
parent 0ddb36ca49
commit cc806a129b

View file

@ -19,9 +19,9 @@
#include <metalsvm/stddef.h>
#include <metalsvm/time.h>
#include "lwip/opt.h"
#include "lwip/debug.h"
#include "lwip/sys.h"
#include "lwip/opt.h"
#include "lwip/stats.h"
#ifndef TRUE
@ -87,7 +87,7 @@ sys_thread_t sys_thread_new(const char *name, lwip_thread_fn thread, void *arg,
sys_thread_t tmp;
err = create_kernel_task(&tmp, thread, arg, prio);
LWIP_DEBUGF(SYS_DEBUG, ("sys_thread_new: create_kernel_task %d, id = %u", err, tmp));
LWIP_DEBUGF(SYS_DEBUG, ("sys_thread_new: create_kernel_task %d, id = %u\n", err, tmp));
return tmp;
}
@ -196,6 +196,8 @@ u32_t sys_arch_mbox_tryfetch(sys_mbox_t* mbox, void** msg)
*/
err_t sys_mbox_new(sys_mbox_t* mbox, int size)
{
LWIP_DEBUGF(SYS_DEBUG, ("sys_mbox_new: create mailbox with the minimum size: %d\n", size));
mbox->valid = TRUE;
return mailbox_ptr_init(&mbox->mailbox);
}
@ -217,7 +219,7 @@ err_t sys_mbox_trypost(sys_mbox_t *mbox, void *msg)
err = mailbox_ptr_trypost(&mbox->mailbox, msg);
if (err != 0) {
LWIP_DEBUGF(SYS_DEBUG, ("sys_mbox_trypost: %d"\n, err));
LWIP_DEBUGF(SYS_DEBUG, ("sys_mbox_trypost: %d\n", err));
}
return err;