diff options
Diffstat (limited to 'linuxthreads_db/td_ta_setconcurrency.c')
-rw-r--r-- | linuxthreads_db/td_ta_setconcurrency.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/linuxthreads_db/td_ta_setconcurrency.c b/linuxthreads_db/td_ta_setconcurrency.c index eec9968810..5bb2601b47 100644 --- a/linuxthreads_db/td_ta_setconcurrency.c +++ b/linuxthreads_db/td_ta_setconcurrency.c @@ -26,5 +26,10 @@ td_ta_setconcurrency (const td_thragent_t *ta, int level) { /* This is something LinuxThreads does not support. */ LOG (__FUNCTION__); + + /* Test whether the TA parameter is ok. */ + if (! ta_ok (ta)) + return TD_BADTA; + return TD_NOCAPAB; } |