From df49c60c9671e4a28e636964d744c1f59fb6cb68 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 12 Jun 2000 15:00:15 +0000 Subject: Merged from 4.5.0-beta3a --- cpukit/rtems/src/taskvariableget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpukit/rtems/src/taskvariableget.c') diff --git a/cpukit/rtems/src/taskvariableget.c b/cpukit/rtems/src/taskvariableget.c index 9beb0c4045..cc6e98045c 100644 --- a/cpukit/rtems/src/taskvariableget.c +++ b/cpukit/rtems/src/taskvariableget.c @@ -59,7 +59,7 @@ rtems_status_code rtems_task_variable_get( * Should this return the current (i.e not the * saved) value if `tid' is the current task? */ - *result = tvp->var; + *result = tvp->tval; _Thread_Enable_dispatch(); return RTEMS_SUCCESSFUL; } -- cgit v1.2.3