From 66822b48b678bb937c23268d62fd72949bf3fcd4 Mon Sep 17 00:00:00 2001 From: "Leandro A. F. Pereira" Date: Tue, 1 Jul 2008 00:18:34 -0300 Subject: Whoops. --- hardinfo2/arch/linux/common/pci.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hardinfo2/arch/linux/common/pci.h b/hardinfo2/arch/linux/common/pci.h index 4ea03356..2669d6c6 100644 --- a/hardinfo2/arch/linux/common/pci.h +++ b/hardinfo2/arch/linux/common/pci.h @@ -143,7 +143,7 @@ __scan_pci(void) strdevice = h_strdup_cprintf("I/O ports at#%d=0x%x - 0x%x\n", strdevice, ++x, io_addr, - io_addr + io_size); + io_addr + io_size - 1); } else if ((buf[0] >= '0' && buf[0] <= '9') && (buf[4] == ':' || buf[2] == ':')) { gint bus, device, function, domain; gpointer start, end; -- cgit v1.2.3