Fix fprint format args (#410)

Since 75061367be we only need to fill one %c
This commit is contained in:
Maxim Baz 2019-12-17 11:42:16 +01:00 committed by Mischievous Meerkat
parent 0feb690d7d
commit 7b06480147
1 changed files with 1 additions and 1 deletions

View File

@ -3513,7 +3513,7 @@ static void show_help(const char *path)
if (*end == '\n') {
snprintf(g_buf, CMD_LEN_MAX, "%*c%.*s",
xchartohex(*start), ' ', (int)(end - start), start + 1);
fprintf(fp, g_buf, ' ', ' ');
fprintf(fp, g_buf, ' ');
start = end + 1;
}