Tell people monitor is starting

Signed-off-by: Li Zhijian <[email protected]>
---
 cxl/monitor.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cxl/monitor.c b/cxl/monitor.c
index 139506aed85a..6761f3bb97af 100644
--- a/cxl/monitor.c
+++ b/cxl/monitor.c
@@ -205,8 +205,8 @@ int cmd_monitor(int argc, const char **argv, struct cxl_ctx 
*ctx)
                        err(&monitor, "daemon start failed\n");
                        goto out;
                }
-               info(&monitor, "cxl monitor daemon started.\n");
        }
+       info(&monitor, "cxl monitor started.\n");
 
        rc = monitor_event(ctx);
 
-- 
2.29.2


Reply via email to