aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorGleb Smirnoff <glebius@FreeBSD.org>2005-09-02 19:52:54 +0000
committerGleb Smirnoff <glebius@FreeBSD.org>2005-09-02 19:52:54 +0000
commit6064e568ec509e1e625ac0308388615017580e25 (patch)
tree3830814015be9c34821fb9e26e9958b178c6acb0 /sys
parent1048c51f6d87b3511097391c8c5be5221bf76ffe (diff)
downloadsrc-6064e568ec509e1e625ac0308388615017580e25.tar.gz
src-6064e568ec509e1e625ac0308388615017580e25.zip
Use non-debug macros inside debugging functions, to prevent
important information from being rewritten.
Notes
Notes: svn path=/head/; revision=149735
Diffstat (limited to 'sys')
-rw-r--r--sys/netgraph/ng_base.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/netgraph/ng_base.c b/sys/netgraph/ng_base.c
index 893e19b6caea..aa0e2d523ac6 100644
--- a/sys/netgraph/ng_base.c
+++ b/sys/netgraph/ng_base.c
@@ -3101,8 +3101,8 @@ dumpitem(item_p item, char *file, int line)
case NGQF_FN:
printf(" - fn@%p (%p, %p, %p, %d (%x))\n",
item->body.fn.fn_fn,
- NGI_NODE(item),
- NGI_HOOK(item),
+ _NGI_NODE(item),
+ _NGI_HOOK(item),
item->body.fn.fn_arg1,
item->body.fn.fn_arg2,
item->body.fn.fn_arg2);
@@ -3112,9 +3112,9 @@ dumpitem(item_p item, char *file, int line)
}
if (line) {
printf(" problem discovered at file %s, line %d\n", file, line);
- if (NGI_NODE(item)) {
+ if (_NGI_NODE(item)) {
printf("node %p ([%x])\n",
- NGI_NODE(item), ng_node2ID(NGI_NODE(item)));
+ _NGI_NODE(item), ng_node2ID(_NGI_NODE(item)));
}
}
}