Fix compil warnings after rebase

This commit is contained in:
frtabu
2019-02-12 10:32:57 +01:00
parent a50596af80
commit 2fcc6333b3
2 changed files with 2 additions and 7 deletions
+1 -1
View File
@@ -173,7 +173,7 @@ int config_check_unknown_cmdlineopt(char *prefix) {
if (strcmp(prefix,CONFIG_CHECKALLSECTIONS) == 0)
finalcheck = 1;
else if (strlen(prefix) > 0) {
sprintf(testprefix,"--%.*s.",CONFIG_MAXOPTLENGTH-1,prefix);
sprintf(testprefix,"--%.*s.",CONFIG_MAXOPTLENGTH-4,prefix);
}
}