[common] numerious bad usage bug fixes

This commit is contained in:
Geoffrey McRae
2020-01-10 15:23:49 +11:00
parent 76fa390e3d
commit 22f04a926f
8 changed files with 32 additions and 14 deletions

View File

@@ -600,7 +600,7 @@ void option_print()
maxLen = alloc_sprintf(
&line,
"%-*s | Short | %-*s | Description",
strlen(state.groups[g].module) + state.groups[g].pad + 1,
(int)(strlen(state.groups[g].module) + state.groups[g].pad + 1),
"Long",
valueLen,
"Value"