From 9532eb67a4a92baab960d8d37bfa28048285dabb Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 5 Nov 1999 02:26:16 +0000 Subject: Update. 1999-11-03 Ulrich Drepper * Versions.def: Add version for libthread_db. --- linuxthreads_db/td_ta_reset_stats.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'linuxthreads_db/td_ta_reset_stats.c') diff --git a/linuxthreads_db/td_ta_reset_stats.c b/linuxthreads_db/td_ta_reset_stats.c index 1ea1e713ab..11401b9502 100644 --- a/linuxthreads_db/td_ta_reset_stats.c +++ b/linuxthreads_db/td_ta_reset_stats.c @@ -26,5 +26,10 @@ td_ta_reset_stats (const td_thragent_t *ta) { /* XXX We have to figure out what has to be done. */ LOG (__FUNCTION__); + + /* Test whether the TA parameter is ok. */ + if (! ta_ok (ta)) + return TD_BADTA; + return TD_OK; } -- cgit 1.4.1