diff options
| author | David Xu <davidxu@FreeBSD.org> | 2006-05-17 05:14:45 +0000 | 
|---|---|---|
| committer | David Xu <davidxu@FreeBSD.org> | 2006-05-17 05:14:45 +0000 | 
| commit | ef39743bc3b37d74df3e85d12d0667103c43b267 (patch) | |
| tree | a4a4fd8000694ff29392403fb0e6a37efc6d3498 | |
| parent | 2ed66c939032ac9807294eb67a6514bcc8af23d8 (diff) | |
Notes
| -rw-r--r-- | lib/libthread_db/libthr_db.c | 3 | 
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libthread_db/libthr_db.c b/lib/libthread_db/libthr_db.c index 0e0940917410..148da1480e03 100644 --- a/lib/libthread_db/libthr_db.c +++ b/lib/libthread_db/libthr_db.c @@ -501,7 +501,8 @@ pt_thr_get_info(const td_thrhandle_t *th, td_thrinfo_t *info)  	if (ret == PS_OK) {  		info->ti_sigmask = linfo.pl_sigmask;  		info->ti_pending = linfo.pl_siglist; -	}	 +	} else +		return (ret);  	if (state == ta->thread_state_running)  		info->ti_state = TD_THR_RUN;  	else if (state == ta->thread_state_zoombie)  | 
