diff options
Diffstat (limited to 'uring.c')
-rw-r--r-- | uring.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -112,8 +112,8 @@ uring_task_put(struct cfg *cfg, struct uring_task *task) assert_return(cfg && task); - debug(DBG_REF, "task %s (%p), refcount %u", - task->name, task, task->refcount); + debug(DBG_REF, "task %s (%p), refcount %u -> %u", + task->name, task, task->refcount, task->refcount - 1); task->refcount--; @@ -144,8 +144,8 @@ uring_task_get(struct cfg *cfg, struct uring_task *task) { assert_return(cfg && task); - debug(DBG_REF, "task %s (%p), refcount %u", - task->name, task, task->refcount); + debug(DBG_REF, "task %s (%p), refcount %u -> %u", + task->name, task, task->refcount, task->refcount + 1); if (task->refcount < 0) error("Negative refcount!"); |