Commit f106ed83 authored by Nils Goroll's avatar Nils Goroll

add the vmod pointer to the panic output

to identify the vmod by its address in other places like vcc-assigned
VRT_priv_* ids
parent 613c2270
......@@ -199,8 +199,8 @@ VMOD_Panic(struct vsb *vsb)
VSB_printf(vsb, "vmods = {\n");
VSB_indent(vsb, 2);
VTAILQ_FOREACH(v, &vmods, list)
VSB_printf(vsb, "%s = {%s, %u.%u},\n",
v->nm, v->abi, v->vrt_major, v->vrt_minor);
VSB_printf(vsb, "%s = {%p, %s, %u.%u},\n",
v->nm, v, v->abi, v->vrt_major, v->vrt_minor);
VSB_indent(vsb, -2);
VSB_printf(vsb, "},\n");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment