mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-01 12:19:28 +00:00
Fix return value.
This commit is contained in:
parent
2ed66c9390
commit
ef39743bc3
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=158681
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user