summaryrefslogtreecommitdiffstats
path: root/c
diff options
context:
space:
mode:
Diffstat (limited to 'c')
-rw-r--r--c/src/tests/sptests/sp29/init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/c/src/tests/sptests/sp29/init.c b/c/src/tests/sptests/sp29/init.c
index b8a0193ef2..bf866bd32e 100644
--- a/c/src/tests/sptests/sp29/init.c
+++ b/c/src/tests/sptests/sp29/init.c
@@ -145,8 +145,8 @@ rtems_task Init (rtems_task_argument ignored)
printf ("%d: Can't obtain non-recursive-lock semaphore: %s\n", __LINE__, rtems_status_text (sc));
}
/*
- * Since this task is holding this, there is no reason to block.
- * It is obviously an error to reobtain it.
+ * Since this task is holding this, this task will block and timeout.
+ * Then the timeout error will be returned.
*/
rtems_clock_get (RTEMS_CLOCK_GET_TICKS_SINCE_BOOT, &then);
sc = rtems_semaphore_obtain (semnorec, RTEMS_WAIT, 5);