commit | 2840537228fba95e05cab1a6b5719c61982db279 | [log] [tgz] |
---|---|---|
author | Bjorn Helgaas <bjorn.helgaas@hp.com> | Tue Oct 06 15:33:29 2009 -0600 |
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | Wed Nov 04 08:47:15 2009 -0800 |
tree | 071b70210b1ebdf2fb7ff908f57ca481357edaaa | |
parent | 3368dd29586c6460b629ac5b4f6b86a6fd3dd421 [diff] |
vsprintf: fix io/mem resource width The leading "0x" consumes field width, so leave space for it in addition to the 4 or 8 hex digits. This means we'll print "0x0000-0x01df" rather than "0x00-0x1df", for example. Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>