Adjust ktrdump(8) for the ktr(4) changes
authorAggelos Economopoulos <aoiko@cc.ece.ntua.gr>
Fri, 30 Dec 2011 13:44:21 +0000 (05:44 -0800)
committerAggelos Economopoulos <aggelos@pearl.nodomain>
Fri, 30 Dec 2011 17:22:03 +0000 (18:22 +0100)
commit46fa8782c316f2c3298c08caea405a593fed066c
tree6e24a7180dd38ba50402d303b573ed67bb1f10f8
parent5bf48697e4f53509dec31ef5b2474f8744bd8712
Adjust ktrdump(8) for the ktr(4) changes

- On i386, we need to extend logged integers to be at least
  int-sized like vprintf expects.
- On x86_64, we unpack the logged arguments into a va_list according
  to the x86_64 ABI rules and then pass it to kvprintf.
usr.bin/ktrdump/ktrdump.c