diff --git a/[refs] b/[refs] index 8c1734862686..9c9ecc291a43 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 982f7c2b2e6a28f8f266e075d92e19c0dd4c6e56 +refs/heads/master: f015ac3edd84ad72f88e08a4d83c56c360aae404 diff --git a/trunk/lib/list_sort.c b/trunk/lib/list_sort.c index 4b5cb794c38b..a7616fa3162e 100644 --- a/trunk/lib/list_sort.c +++ b/trunk/lib/list_sort.c @@ -70,7 +70,7 @@ static void merge_and_restore_back_links(void *priv, * element comparison is needed, so the client's cmp() * routine can invoke cond_resched() periodically. */ - (*cmp)(priv, tail, tail); + (*cmp)(priv, tail->next, tail->next); tail->next->prev = tail; tail = tail->next;