summaryrefslogtreecommitdiff
path: root/lib/freebsd-queue.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/freebsd-queue.h')
-rw-r--r--lib/freebsd-queue.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/freebsd-queue.h b/lib/freebsd-queue.h
index 658b602ba3..d198f5674f 100644
--- a/lib/freebsd-queue.h
+++ b/lib/freebsd-queue.h
@@ -302,7 +302,7 @@ struct qm_trace {
(STAILQ_EMPTY((head)) \
? NULL \
: ((struct type *)(void *)((char *)((head)->stqh_last) \
- - __offsetof(struct type, \
+ - offsetof(struct type, \
field))))
#define STAILQ_NEXT(elm, field) ((elm)->field.stqe_next)