From ca58739ebc58428187366476b682bf20d9850645 Mon Sep 17 00:00:00 2001 From: Tom Keiser Date: Thu, 14 Oct 2010 01:34:40 -0400 Subject: [PATCH] rx: fix typo in rx_atomic Solaris backend Fix typo so rx builds again on Solaris. Change-Id: I328e05937b376c659bb42ba8db51f512b14da6f3 Reviewed-on: http://gerrit.openafs.org/2980 Tested-by: Tom Keiser Reviewed-by: Jeffrey Altman Tested-by: Jeffrey Altman --- src/rx/rx_atomic.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rx/rx_atomic.h b/src/rx/rx_atomic.h index 1fdd66d..5d44b65 100644 --- a/src/rx/rx_atomic.h +++ b/src/rx/rx_atomic.h @@ -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) -- 1.9.4