summaryrefslogtreecommitdiff
path: root/ace/OS.i
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>2001-07-30 14:46:40 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>2001-07-30 14:46:40 +0000
commit74cdc9d3d28842bd88ad070cbd2fefe6c4a4d261 (patch)
tree84c2bac66bf9527ef374219cc9967e41b8630a9c /ace/OS.i
parent2bbf353bf4b1a12ad923d185136161531144c918 (diff)
downloadATCD-74cdc9d3d28842bd88ad070cbd2fefe6c4a4d261.tar.gz
ChangeLogTag:Mon Jul 30 09:43:06 2001 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
Diffstat (limited to 'ace/OS.i')
-rw-r--r--ace/OS.i3
1 files changed, 1 insertions, 2 deletions
diff --git a/ace/OS.i b/ace/OS.i
index 7135ad8ba7e..2c31cbe1d35 100644
--- a/ace/OS.i
+++ b/ace/OS.i
@@ -2043,8 +2043,7 @@ ACE_OS::mutex_lock (ACE_mutex_t *m,
// Note that the mutex should not be a recursive one, i.e., it
// should only be a standard mutex or an error checking mutex.
- ACE_OSCALL (ACE_ADAPT_RETVAL (::pthread_mutex_timedlock (m, &ts),
- result), int, -1);
+ ACE_OSCALL (ACE_ADAPT_RETVAL (::pthread_mutex_timedlock (m, &ts), result), int, -1, result);
// We need to adjust this to make the errno values consistent.
if (result == -1 && errno == ETIMEDOUT)