fix: don't use plain strings in vars as printf formats

This commit is contained in:
Stéphane Lesimple
2021-01-15 19:41:17 +01:00
parent e8eb7824aa
commit 66cf0d25ee
11 changed files with 25 additions and 25 deletions

View File

@@ -62,7 +62,7 @@ guint64 SwapBytes64(guint64 in)
*/
void print_hex(char *label, guint8 *values, int n)
{ PrintCLI(label);
{ PrintCLI("%s", label);
while(n--)
PrintCLI("%02x ",*values++);