From: Ken Raeburn Date: Sun, 4 Jul 2004 00:37:55 +0000 (+0000) Subject: * error_message.c (remove_error_table) [!ENABLE_THREADS && DEBUG_THREADS]: Update... X-Git-Tag: krb5-1.4-beta1~255 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5b89ed274b839787d15679964644559a3b8ace47;p=krb5.git * error_message.c (remove_error_table) [!ENABLE_THREADS && DEBUG_THREADS]: Update test for "initialized" field in mutex git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16540 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/util/et/ChangeLog b/src/util/et/ChangeLog index 65b8492c6..e3c2d7a20 100644 --- a/src/util/et/ChangeLog +++ b/src/util/et/ChangeLog @@ -1,3 +1,8 @@ +2004-07-03 Ken Raeburn + + * error_message.c (remove_error_table) [!ENABLE_THREADS && + DEBUG_THREADS]: Update test for 'initialized' field in mutex. + 2004-06-22 Ken Raeburn * vfprintf.c: Don't test macintosh. diff --git a/src/util/et/error_message.c b/src/util/et/error_message.c index 03e8af1b2..42c230051 100644 --- a/src/util/et/error_message.c +++ b/src/util/et/error_message.c @@ -317,7 +317,7 @@ remove_error_table(const struct error_table * et) if (CALL_INIT_FUNCTION(com_err_initialize)) return 0; #if !defined(ENABLE_THREADS) && defined(DEBUG_THREADS) - if (et_list_lock.initialized == 0 && terminated != 0) { + if (et_list_lock.os.initialized == 0 && terminated != 0) { fprintf(stderr, "\n\n *** Function remove_error_table called after com_err library termination. ***\n *** Shared library termination code executed in incorrect order? ***\n\n"); abort(); }