From 1ac9219148610878491a20d15c87476451941eee Mon Sep 17 00:00:00 2001 From: patacongo Date: Tue, 15 May 2012 00:45:14 +0000 Subject: Fix several compiler errors that occur when CONFIG_SCHED_ONEXIT is enabled; on_exit is now used in NxWM::NxConsole to close the window with the NSH session exits git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4738 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/sched/on_exit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nuttx/sched') diff --git a/nuttx/sched/on_exit.c b/nuttx/sched/on_exit.c index 965a3e805..f91eb2e11 100644 --- a/nuttx/sched/on_exit.c +++ b/nuttx/sched/on_exit.c @@ -114,7 +114,7 @@ int on_exit(CODE void (*func)(int, FAR void *), FAR void *arg) if (func && !tcb->onexitfunc) { tcb->onexitfunc = func; - tdb->onexitarg = arg; + tcb->onexitarg = arg; ret = OK; } -- cgit v1.2.3