Respect decimal flag when dumping USER type records.

This commit is contained in:
phk 2004-03-25 12:33:55 +00:00
parent ab1792c4b3
commit 4d840fd809

View File

@ -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");
}