From 9b6b6f2bb2283e244368ceb5be7ec9627d0aa83c Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Sat, 25 Jun 2022 15:34:20 +0000 Subject: [PATCH] changed log messages a bit --- hio/lib/pro.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hio/lib/pro.c b/hio/lib/pro.c index f7b8964..a35ccb2 100644 --- a/hio/lib/pro.c +++ b/hio/lib/pro.c @@ -400,6 +400,8 @@ static int dev_pro_make_master (hio_dev_t* dev, void* ctx) rdev->on_read = info->on_read; rdev->on_write = info->on_write; rdev->on_close = info->on_close; + + HIO_DEBUG4 (hio, "PRO(%p) - in %p out %p err %p\n", dev, rdev->slave[HIO_DEV_PRO_IN], rdev->slave[HIO_DEV_PRO_OUT], rdev->slave[HIO_DEV_PRO_ERR]); return 0; oops: @@ -490,7 +492,7 @@ static int dev_pro_kill_master (hio_dev_t* dev, int force) */ } - HIO_DEBUG1 (hio, "PRO >>>>>>>>>>>>>>>>>>> REAPED CHILD %d\n", (int)rdev->child_pid); + HIO_DEBUG2 (hio, "PRO(%p) - REAPED CHILD %d\n", dev, (int)rdev->child_pid); rdev->child_pid = -1; }