summaryrefslogtreecommitdiff
path: root/rt/tst-timer2.c
diff options
context:
space:
mode:
Diffstat (limited to 'rt/tst-timer2.c')
-rw-r--r--rt/tst-timer2.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/rt/tst-timer2.c b/rt/tst-timer2.c
index 74ccc492b0..60026c1efd 100644
--- a/rt/tst-timer2.c
+++ b/rt/tst-timer2.c
@@ -40,7 +40,10 @@ do_test (void)
printf ("cnt = %d\n", i);
if (timer_create (CLOCK_REALTIME, &sigev, &timerId) < 0)
- perror ("timer_create");
+ {
+ perror ("timer_create");
+ continue;
+ }
res = timer_settime (timerId, 0, &itval, NULL);
if (res < 0)