Skip to content

Commit 841a33a

Browse files
committed
Fix crash when a collector is configured with 0 SIP threads
1 parent f00cf77 commit 841a33a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/collector/configparser_collector.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ static void parse_col_thread_count(int *toset, const char *expectedkey,
351351
if (*toset < min) {
352352
*toset = min;
353353
logger(LOG_INFO,
354-
"OpenLI: must have at least %s %s thread per collector!",
354+
"OpenLI: you must have at least %d %s thread(s) per collector!",
355355
min, errlabel);
356356
}
357357
}

0 commit comments

Comments
 (0)