fix LOG_X macros

Some of them might not be correctly handled.
I put /* TODO: XXX */ where I didn't know if
the fix was correct.
This commit is contained in:
Cedric Roux
2017-01-11 15:48:00 +01:00
parent cb67d586a4
commit f2f32f5340
42 changed files with 257 additions and 227 deletions
+1 -1
View File
@@ -62,7 +62,7 @@ void util_print_hex_octets(comp_name_t component, unsigned char* data, unsigned
*/
if (octet_index != 0 && (octet_index + 1) % 16 == 0) {
LOG_T(component, " |\n");
LOG_T(component, " %03d |", octet_index);
LOG_T(component, " %03lu |", octet_index);
}
}