From: Tom Keiser Date: Thu, 14 Oct 2010 05:34:40 +0000 (-0400) Subject: rx: fix typo in rx_atomic Solaris backend X-Git-Tag: upstream/1.8.0_pre1^2~4669 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=ca58739ebc58428187366476b682bf20d9850645;p=packages%2Fo%2Fopenafs.git 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 --- diff --git a/src/rx/rx_atomic.h b/src/rx/rx_atomic.h index 1fdd66d59..5d44b6548 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)