From be895d67b6d4fc16955f3ac36862c8d458e7de62 Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Wed, 30 Nov 2022 16:29:20 +0100 Subject: [PATCH] runmodes: minor output cleanup --- src/util-runmodes.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/util-runmodes.c b/src/util-runmodes.c index 12d5877853..272a1f1d4f 100644 --- a/src/util-runmodes.c +++ b/src/util-runmodes.c @@ -260,7 +260,8 @@ static int RunModeSetLiveCaptureWorkersForDevice(ConfigIfaceThreadsCountFunc Mod threads_count = 1; } else { threads_count = MIN(ModThreadsCount(aconf), thread_max); - SCLogInfo("Going to use %" PRId32 " thread(s) for device %s", threads_count, live_dev); + SCLogInfo("%s: creating %" PRId32 " thread%s", live_dev, threads_count, + threads_count > 1 ? "s" : ""); } /* create the threads */