Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Feb 2015 17:29:04 +0000 (UTC)
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r279241 - head/sys/sys
Message-ID:  <201502241729.t1OHT4ar029278@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: hselasky
Date: Tue Feb 24 17:29:04 2015
New Revision: 279241
URL: https://svnweb.freebsd.org/changeset/base/279241

Log:
  Fix order of arguments in the TRACEBUF_INITIALIZER macro so that we
  can define QUEUE_MACRO_DEBUG to debug list problems.
  
  MFC after:	1 week

Modified:
  head/sys/sys/queue.h

Modified: head/sys/sys/queue.h
==============================================================================
--- head/sys/sys/queue.h	Tue Feb 24 16:45:16 2015	(r279240)
+++ head/sys/sys/queue.h	Tue Feb 24 17:29:04 2015	(r279241)
@@ -116,7 +116,7 @@ struct qm_trace {
 };
 
 #define	TRACEBUF	struct qm_trace trace;
-#define	TRACEBUF_INITIALIZER	{ __FILE__, __LINE__, NULL, 0 } ,
+#define	TRACEBUF_INITIALIZER	{ __LINE__, 0, __FILE__, NULL } ,
 #define	TRASHIT(x)	do {(x) = (void *)-1;} while (0)
 #define	QMD_SAVELINK(name, link)	void **name = (void *)&(link)
 



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