diff options
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; } |