Fix: lfstack reversed empty/non-empty return value
[urcu.git] / urcu / static / lfstack.h
index 63af91adf301918b0331eb3cf55c0c52c5f9711f..41895a6087a95daee07a7247786c77bd16d706b8 100644 (file)
@@ -158,7 +158,7 @@ bool _cds_lfs_push(cds_lfs_stack_ptr_t u_s,
                if (old_head == head)
                        break;
        }
-       return ___cds_lfs_empty_head(head);
+       return !___cds_lfs_empty_head(head);
 }
 
 /*
This page took 0.022328 seconds and 4 git commands to generate.