1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-26 16:18:31 +00:00

Use non-debug macros inside debugging functions, to prevent

important information from being rewritten.
This commit is contained in:
Gleb Smirnoff 2005-09-02 19:52:54 +00:00
parent 1048c51f6d
commit 6064e568ec
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=149735

View File

@ -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)));
}
}
}