about summary refs log tree commit diff
path: root/db2
diff options
context:
space:
mode:
Diffstat (limited to 'db2')
-rw-r--r--db2/mutex/sparc.gcc2
1 files changed, 1 insertions, 1 deletions
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)