summaryrefslogtreecommitdiff
path: root/include/ck_queue.h
diff options
context:
space:
mode:
authorOlivier Houchard <cognet@FreeBSD.org>2018-04-02 23:35:32 +0000
committerOlivier Houchard <cognet@FreeBSD.org>2018-04-02 23:35:32 +0000
commite8d27288c2439ee79c81e4684ea90e8ca1aab845 (patch)
tree167d58dad3c007074e191f90478c1824dfe32aa5 /include/ck_queue.h
parent358370410ca01ec37e55ea44c0f3cd1fa8860c5d (diff)
Diffstat (limited to 'include/ck_queue.h')
-rw-r--r--include/ck_queue.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ck_queue.h b/include/ck_queue.h
index 0b7ce1aec708..28b298e6d9a3 100644
--- a/include/ck_queue.h
+++ b/include/ck_queue.h
@@ -235,7 +235,7 @@ struct { \
* Singly-linked Tail queue functions.
*/
#define CK_STAILQ_CONCAT(head1, head2) do { \
- if ((head2)->stqh_first == NULL) { \
+ if ((head2)->stqh_first != NULL) { \
ck_pr_store_ptr((head1)->stqh_last, (head2)->stqh_first); \
ck_pr_fence_store(); \
(head1)->stqh_last = (head2)->stqh_last; \