aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--db2/mutex/sparc.gcc2
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 7de88fd42a..a3664c9434 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
1999-09-14 Ulrich Drepper <drepper@cygnus.com>
+ * db2/mutex/sparc.gcc (TSL_UNSET): Dereference pointer.
+
* elf/elf.h (PF_MASKOS): New definition.
1999-08-09 Scott Bambrough <scottb@netwinder.org>
diff --git a/db2/mutex/sparc.gcc b/db2/mutex/sparc.gcc
index 9e3239b0b0..5eff1764c8 100644
--- a/db2/mutex/sparc.gcc
+++ b/db2/mutex/sparc.gcc
@@ -27,5 +27,5 @@
!__r; \
})
-#define TSL_UNSET(tsl) ((tsl) = 0)
+#define TSL_UNSET(tsl) (*(tsl) = 0)
#define TSL_INIT(tsl) TSL_UNSET(tsl)