diff options
author | hselasky <hselasky@FreeBSD.org> | 2015-02-24 17:36:44 +0000 |
---|---|---|
committer | hselasky <hselasky@FreeBSD.org> | 2015-02-24 17:36:44 +0000 |
commit | 5d5968a67194ec25d7cf35e8257cb2cd952e3d06 (patch) | |
tree | 9e50ac46b9fe26a6c8849c85579f92290743591d | |
parent | 7903c02c5ac9ffd482bd34b70f326a87b47a4869 (diff) | |
download | FreeBSD-src-5d5968a67194ec25d7cf35e8257cb2cd952e3d06.zip FreeBSD-src-5d5968a67194ec25d7cf35e8257cb2cd952e3d06.tar.gz |
Pass macro arguments properly.
MFC after: 1 week
-rw-r--r-- | sys/sys/queue.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/queue.h b/sys/sys/queue.h index 8d9bbad..a490543 100644 --- a/sys/sys/queue.h +++ b/sys/sys/queue.h @@ -612,7 +612,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 { \ @@ -622,7 +622,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 { \ |