rx: fix typo in rx_atomic Solaris backend
[openafs.git] / src / rx / rx_atomic.h
index 1fdd66d..5d44b65 100644 (file)
@@ -161,7 +161,7 @@ rx_atomic_dec(rx_atomic_t *atomic) {
 
 static_inline void
 rx_atomic_sub(rx_atomic_t *atomic, int change) {
-    atomic_add_32(&object, 0 - change);
+    atomic_add_32(&atomic, 0 - change);
 }
 
 #elif defined(__GNUC__) && defined(HAVE_SYNC_FETCH_AND_ADD)