diff --git a/configs b/configs index 4369949384..38b711de02 160000 --- a/configs +++ b/configs @@ -1 +1 @@ -Subproject commit 43699493840f36a03a7aed7f9bd78eab9e0770e6 +Subproject commit 38b711de023cfe2f1cabc643f81d9ad5988da3cd diff --git a/libc/queue/dq_cat.c b/libc/queue/dq_cat.c index 0c75f12e25..935fcaffa2 100644 --- a/libc/queue/dq_cat.c +++ b/libc/queue/dq_cat.c @@ -58,7 +58,7 @@ void dq_cat(FAR dq_queue_t *queue1, FAR dq_queue_t *queue2) /* If queue2 is empty, then just move queue1 to queue2 */ - if (!dq_empty(queue2)) + if (dq_empty(queue2)) { dq_move(queue1, queue2); } diff --git a/libc/queue/sq_cat.c b/libc/queue/sq_cat.c index b75cdf9415..d6e8d1def2 100644 --- a/libc/queue/sq_cat.c +++ b/libc/queue/sq_cat.c @@ -58,7 +58,7 @@ void sq_cat(FAR sq_queue_t *queue1, FAR sq_queue_t *queue2) /* If queue2 is empty, then just move queue1 to queue2 */ - if (!sq_empty(queue2)) + if (sq_empty(queue2)) { sq_move(queue1, queue2); }