diff options
author | hselasky <hselasky@FreeBSD.org> | 2015-02-24 17:29:04 +0000 |
---|---|---|
committer | hselasky <hselasky@FreeBSD.org> | 2015-02-24 17:29:04 +0000 |
commit | 7903c02c5ac9ffd482bd34b70f326a87b47a4869 (patch) | |
tree | caa19b5ddf4e935e14b76bcea58d15a08b65ef13 | |
parent | 4b5ee6348185a86472d6527f6e22f85720dd861b (diff) | |
download | FreeBSD-src-7903c02c5ac9ffd482bd34b70f326a87b47a4869.zip FreeBSD-src-7903c02c5ac9ffd482bd34b70f326a87b47a4869.tar.gz |
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
-rw-r--r-- | sys/sys/queue.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/queue.h b/sys/sys/queue.h index 55bd494..8d9bbad 100644 --- a/sys/sys/queue.h +++ b/sys/sys/queue.h @@ -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) |