summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/sp29/init.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2000-01-06 15:20:53 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2000-01-06 15:20:53 +0000
commitbd177b7bea172ec95e32c07adee8113a1791c34b (patch)
treebb352497502a0c8ca9f2d57fcf3ab6324b6d0389 /testsuites/sptests/sp29/init.c
parentchanged version to 20000104 (diff)
downloadrtems-bd177b7bea172ec95e32c07adee8113a1791c34b.tar.bz2
Fixed comment.
Diffstat (limited to '')
-rw-r--r--testsuites/sptests/sp29/init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuites/sptests/sp29/init.c b/testsuites/sptests/sp29/init.c
index b8a0193ef2..bf866bd32e 100644
--- a/testsuites/sptests/sp29/init.c
+++ b/testsuites/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);