summaryrefslogtreecommitdiff
path: root/linuxthreads_db/td_thr_event_enable.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-07-16 04:56:00 +0000
committerUlrich Drepper <drepper@redhat.com>2002-07-16 04:56:00 +0000
commitd2afebcce46f40e9d96fc48e541aa5a6d8deac9b (patch)
treea6cd43082f0317ad70fd5598d55d6146e0cddbe5 /linuxthreads_db/td_thr_event_enable.c
parenta99bfa85d82aecc3eb780779377a9e178e7189d2 (diff)
Update.
2002-07-15 Ulrich Drepper <drepper@redhat.com> * intl/tst-gettext.sh: Pass -f option to msgfmt. * intl/tst-gettext.c: Correctly handle untranslated messages in positive tests. * po/de.po: Update from translation team.
Diffstat (limited to 'linuxthreads_db/td_thr_event_enable.c')
-rw-r--r--linuxthreads_db/td_thr_event_enable.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/linuxthreads_db/td_thr_event_enable.c b/linuxthreads_db/td_thr_event_enable.c
index 52404e5a89..d6ec2a99df 100644
--- a/linuxthreads_db/td_thr_event_enable.c
+++ b/linuxthreads_db/td_thr_event_enable.c
@@ -31,6 +31,7 @@ td_thr_event_enable (th, onoff)
LOG ("td_thr_event_enable");
/* Write the new value into the thread data structure. */
+if (th->th_unique != NULL)
if (ps_pdwrite (th->th_ta_p->ph,
((char *) th->th_unique
+ offsetof (struct _pthread_descr_struct, p_report_events)),