eepro100: Allocate a larger buffer for regname()

This should avoid truncating the register name when debugging.

Signed-off-by: David Benjamin <davidben@mit.edu>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
master
David Benjamin 2009-11-25 21:20:10 -05:00 committed by Anthony Liguori
parent 5f370b1463
commit ec16928806
1 changed files with 1 additions and 1 deletions

View File

@ -648,7 +648,7 @@ static const char * const reg[PCI_IO_SIZE / 4] = {
static char *regname(uint32_t addr)
{
static char buf[16];
static char buf[32];
if (addr < PCI_IO_SIZE) {
const char *r = reg[addr / 4];
if (r != 0) {