]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
runmodes: minor output cleanup
authorVictor Julien <vjulien@oisf.net>
Wed, 30 Nov 2022 15:29:20 +0000 (16:29 +0100)
committerVictor Julien <vjulien@oisf.net>
Fri, 16 Dec 2022 11:15:44 +0000 (12:15 +0100)
src/util-runmodes.c

index 12d587785375e835e7d09c8814ab9052a145b5c3..272a1f1d4fc7acd1b1a95d8016cbaeeae6ed3292 100644 (file)
@@ -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 */