Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Aug 2005 20:57:53 +0200 (CEST)
From:      Antoine.Pelisse@xloling.org (apelisse@gmail.com)
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   kern/84654: [PATCH] typo in src/sys/sys/queue.h
Message-ID:  <200508071857.j77Ivrmx059402@xloling.org>
Resent-Message-ID: <200508071900.j77J0YIN063690@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         84654
>Category:       kern
>Synopsis:       [PATCH] typo in src/sys/sys/queue.h
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Aug 07 19:00:33 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Antoine Pelisse
>Release:        FreeBSD 5.4-STABLE i386
>Organization:
None
>Environment:
System: FreeBSD gordon.xloling.org 5.4-STABLE FreeBSD 5.4-STABLE #0: Sat Jul 2 21:23:01 CEST 2005 
>Description:
	Kernel can't be built with QUEUE_MACRO_DEBUG to 1 in queue.h
	due to a typo.
>How-To-Repeat:
>Fix:
--- sys/sys/queue.h.orig        Sun Aug  7 20:47:09 2005
+++ sys/sys/queue.h     Sun Aug  7 20:47:25 2005
@@ -403,7 +403,7 @@
                (head2)->tqh_first->field.tqe_prev = (head1)->tqh_last; \
                (head1)->tqh_last = (head2)->tqh_last;                  \
                TAILQ_INIT((head2));                                    \
-               QMD_TRACE_HEAD(head);                                   \
+               QMD_TRACE_HEAD(head1);                                  \
                QMD_TRACE_HEAD(head2);                                  \
        }                                                               \
 } while (0)
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200508071857.j77Ivrmx059402>