Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Mar 2015 09:27:40 +0000 (UTC)
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r279634 - stable/9/sys/sys
Message-ID:  <201503050927.t259RehA036173@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: hselasky
Date: Thu Mar  5 09:27:39 2015
New Revision: 279634
URL: https://svnweb.freebsd.org/changeset/base/279634

Log:
  MFC r279241 and r279242:
  Fix debugging macros.

Modified:
  stable/9/sys/sys/queue.h
Directory Properties:
  stable/9/sys/   (props changed)
  stable/9/sys/sys/   (props changed)

Modified: stable/9/sys/sys/queue.h
==============================================================================
--- stable/9/sys/sys/queue.h	Thu Mar  5 09:23:43 2015	(r279633)
+++ stable/9/sys/sys/queue.h	Thu Mar  5 09:27:39 2015	(r279634)
@@ -610,7 +610,7 @@ struct {								\
 	TAILQ_NEXT((listelm), field) = (elm);				\
 	(elm)->field.tqe_prev = &TAILQ_NEXT((listelm), field);		\
 	QMD_TRACE_ELEM(&(elm)->field);					\
-	QMD_TRACE_ELEM(&listelm->field);				\
+	QMD_TRACE_ELEM(&(listelm)->field);				\
 } while (0)
 
 #define	TAILQ_INSERT_BEFORE(listelm, elm, field) do {			\
@@ -620,7 +620,7 @@ struct {								\
 	*(listelm)->field.tqe_prev = (elm);				\
 	(listelm)->field.tqe_prev = &TAILQ_NEXT((elm), field);		\
 	QMD_TRACE_ELEM(&(elm)->field);					\
-	QMD_TRACE_ELEM(&listelm->field);				\
+	QMD_TRACE_ELEM(&(listelm)->field);				\
 } while (0)
 
 #define	TAILQ_INSERT_HEAD(head, elm, field) do {			\



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