configure: fixup __sync_fetch_and_add()
Signed-off-by: Jens Axboe <axboe@kernel.dk>
diff --git a/configure b/configure
index 1a75fa4..d1f277d 100755
--- a/configure
+++ b/configure
@@ -446,7 +446,7 @@
cat > $TMPC << EOF
static int sfaa(int *ptr)
{
- return __sync_fetch_and_and(ptr, 0);
+ return __sync_fetch_and_add(ptr, 0);
}
int main(int argc, char **argv)
@@ -459,7 +459,7 @@
if compile_prog "" "" "__sync_fetch_and_add()" ; then
sfaa="yes"
fi
-echo "__sync_fetch_and add $sfaa"
+echo "__sync_fetch_and_add $sfaa"
##########################################
# libverbs probe