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