diff options
author | David Härdeman <david@hardeman.nu> | 2020-06-16 22:31:39 +0200 |
---|---|---|
committer | David Härdeman <david@hardeman.nu> | 2020-06-16 22:31:39 +0200 |
commit | c48f30ca53695faa09683fc8f506463c07f9c2c3 (patch) | |
tree | 80577fb4299ef6e91339be3412b9dbfd432e445a /uring.c | |
parent | bf3df84cdfbdb0da776d8fb2af9fa2cf53eec985 (diff) |
Fixup remaining missed cases of debugging
Diffstat (limited to 'uring.c')
-rw-r--r-- | uring.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -76,9 +76,9 @@ uring_task_refdump(struct uring_task *task) memcpy(dst, tmp->name, strlen(tmp->name)); } - fprintf(stderr, "%s (0x%p parent 0x%p free 0x%p fd %i ref %u)\n", - buf, task, task->parent, task->free, task->fd, - task->refcount); + debug(DBG_REF, "%s (0x%p parent 0x%p free 0x%p fd %i ref %u)\n", + buf, task, task->parent, task->free, task->fd, + task->refcount); } /* @@ -562,7 +562,7 @@ uring_poll_cancel(struct cfg *cfg, struct uring_task *task) struct io_uring_sqe *sqe; if (task->fd < 0) { - fprintf(stderr, "uring_poll_cancel called with no fd set\n"); + error("no fd set\n"); return; } |