kern/84654: [PATCH] typo in src/sys/sys/queue.h

apelisse at gmail.com Antoine.Pelisse at xloling.org
Sun Aug 7 19:00:35 GMT 2005


>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:


More information about the freebsd-bugs mailing list