Respect decimal flag when dumping USER type records.
This commit is contained in:
parent
ab1792c4b3
commit
4d840fd809
@ -565,7 +565,10 @@ ktruser(int len, unsigned char *p)
|
|||||||
{
|
{
|
||||||
(void)printf("%d ", len);
|
(void)printf("%d ", len);
|
||||||
while (len--)
|
while (len--)
|
||||||
(void)printf(" %02x", *p++);
|
if (decimal)
|
||||||
|
(void)printf(" %d", *p++);
|
||||||
|
else
|
||||||
|
(void)printf(" %02x", *p++);
|
||||||
(void)printf("\n");
|
(void)printf("\n");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user