mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 13:53:55 -07:00
commit
a7fd398d33
1 changed files with 3 additions and 3 deletions
|
@ -37,9 +37,9 @@ void PrintAndLogOptions(char *str[][2], size_t size, size_t space)
|
||||||
for(int j = 0; j < 2; j++)
|
for(int j = 0; j < 2; j++)
|
||||||
{
|
{
|
||||||
if(j == 0)
|
if(j == 0)
|
||||||
snprintf(format, sizeof(format), "%%%us%%%us", space, counts[j]);
|
snprintf(format, sizeof(format), "%%%zus%%%zus", space, counts[j]);
|
||||||
else
|
else
|
||||||
snprintf(format, sizeof(format), "%%%us%%-%us", space, counts[j]);
|
snprintf(format, sizeof(format), "%%%zus%%-%zus", space, counts[j]);
|
||||||
snprintf(buff + strlen(buff), sizeof(buff) - strlen(buff), format, " ", str[i][j]);
|
snprintf(buff + strlen(buff), sizeof(buff) - strlen(buff), format, " ", str[i][j]);
|
||||||
}
|
}
|
||||||
if(i<size-1)
|
if(i<size-1)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue