about summary refs log tree commit diff
path: root/linuxthreads_db/td_thr_getgregs.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-01-21 05:18:41 +0000
committerUlrich Drepper <drepper@redhat.com>2000-01-21 05:18:41 +0000
commit0b9fbf003af00a2a22164333bbe709aa9abbcdc9 (patch)
tree756c272dc78bb25678664d433e2cbbd9a66d3b00 /linuxthreads_db/td_thr_getgregs.c
parent9861985fafa348a103f5812bae80a85ca8b6c5dd (diff)
downloadglibc-0b9fbf003af00a2a22164333bbe709aa9abbcdc9.tar.gz
glibc-0b9fbf003af00a2a22164333bbe709aa9abbcdc9.tar.xz
glibc-0b9fbf003af00a2a22164333bbe709aa9abbcdc9.zip
Update.
	* manual/getopt.texi (Using the getopt function): Fix description of
	return value for format string starting with '-' (PR libc/1551).
	Patch by Raúl Núñez de Arenas Coronado <dervishd@jazzfree.com>

	* sunrpc/clnt_perr.c (rpc_errlist): Fix index for RPC_PROGVERSMISMATCH.
	Patch by jens.moeller@westgeo.com (PR libc/1550).

	* locale/programs/ld-collate.c (struct element_t): Add wclast
	and compute it where necessary.
	(collate_output): Insert indirect references in the right order.
Diffstat (limited to 'linuxthreads_db/td_thr_getgregs.c')
-rw-r--r--linuxthreads_db/td_thr_getgregs.c2
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;