diff options
Diffstat (limited to 'usr.bin/kdump')
-rw-r--r-- | usr.bin/kdump/kdump.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/kdump/kdump.c b/usr.bin/kdump/kdump.c index 407c373..010f862 100644 --- a/usr.bin/kdump/kdump.c +++ b/usr.bin/kdump/kdump.c @@ -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"); } |