svn commit: r279241 - head/sys/sys
Hans Petter Selasky
hselasky at FreeBSD.org
Tue Feb 24 17:29:05 UTC 2015
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)
More information about the svn-src-head
mailing list