drivers/wireless/ieee80211/bcm43xxx/bcmf_utils.c: Fix syslog formats
This commit is contained in:
parent
b7358e9542
commit
2874f613a6
@ -73,7 +73,7 @@ void bcmf_hexdump(uint8_t *data, unsigned int len, unsigned long offset)
|
|||||||
{
|
{
|
||||||
/* Flush line */
|
/* Flush line */
|
||||||
|
|
||||||
wlinfo("%08x: %s%s\n",
|
wlinfo("%08lx: %s%s\n",
|
||||||
offset + i - char_count, hex_line, char_line);
|
offset + i - char_count, hex_line, char_line);
|
||||||
char_count = 0;
|
char_count = 0;
|
||||||
}
|
}
|
||||||
@ -90,7 +90,7 @@ void bcmf_hexdump(uint8_t *data, unsigned int len, unsigned long offset)
|
|||||||
|
|
||||||
memset(hex_line + 3 * char_count, ' ', 3 * (LINE_LEN - char_count));
|
memset(hex_line + 3 * char_count, ' ', 3 * (LINE_LEN - char_count));
|
||||||
hex_line[3 * LINE_LEN] = 0;
|
hex_line[3 * LINE_LEN] = 0;
|
||||||
wlinfo("%08x: %s%s\n", offset + i - char_count, hex_line, char_line);
|
wlinfo("%08lx: %s%s\n", offset + i - char_count, hex_line, char_line);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user