There was an error while loading. Please reload this page.
2 parents 6bf6cb1 + 5a9419b commit aa13cadCopy full SHA for aa13cad
src/shims/generic_sys_queue.h
@@ -95,7 +95,7 @@
95
#define TAILQ_CONCAT(head1, head2, field) do { \
96
if (!TAILQ_EMPTY(head2)) { \
97
(head1)->tq_last = (head2)->tq_first; \
98
-(head1)->tq_first->field.te_prev = (head1)->tq_last; \
+(head2)->tq_first->field.te_prev = (head1)->tq_last; \
99
(head1)->tq_last = (head2)->tq_last; \
100
TAILQ_INIT((head2)); \
101
} \
0 commit comments