diff options
Diffstat (limited to 'linuxthreads_db/td_thr_getgregs.c')
-rw-r--r-- | linuxthreads_db/td_thr_getgregs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linuxthreads_db/td_thr_getgregs.c b/linuxthreads_db/td_thr_getgregs.c index c485686afd..a4d861970e 100644 --- a/linuxthreads_db/td_thr_getgregs.c +++ b/linuxthreads_db/td_thr_getgregs.c @@ -35,7 +35,7 @@ td_thr_getgregs (const td_thrhandle_t *th, prgregset_t gregs) /* If the thread already terminated we return all zeroes. */ if (pds.p_terminated) - memset (gregs, '\0', sizeof (prgrepset_t)); + memset (gregs, '\0', sizeof (prgregset_t)); /* Otherwise get the register content through the callback. */ else if (ps_lgetregs (th->th_ta_p->ph, pds.p_pid, gregs) != PS_OK) return TD_ERR; |