Commit e9f1b8ce authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Make a workspace debugging output more usable

parent 8216919c
...@@ -244,7 +244,7 @@ void ...@@ -244,7 +244,7 @@ void
WS_ReleaseP(struct ws *ws, char *ptr) WS_ReleaseP(struct ws *ws, char *ptr)
{ {
WS_Assert(ws); WS_Assert(ws);
DSL(DBG_WORKSPACE, 0, "WS_ReleaseP(%p, %p)", ws, ptr); DSL(DBG_WORKSPACE, 0, "WS_ReleaseP(%p, %p (%zd))", ws, ptr, ptr - ws->f);
assert(ws->r != NULL); assert(ws->r != NULL);
assert(ptr >= ws->f); assert(ptr >= ws->f);
assert(ptr <= ws->r); assert(ptr <= ws->r);
......
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