diff options
| author | Leandro A. F. Pereira <leandro@hardinfo.org> | 2008-07-01 00:18:34 -0300 | 
|---|---|---|
| committer | Leandro A. F. Pereira <leandro@hardinfo.org> | 2008-07-01 00:18:34 -0300 | 
| commit | 66822b48b678bb937c23268d62fd72949bf3fcd4 (patch) | |
| tree | 0ecd88540090fd547cb2d8e84d1e3f25f6ec0831 /hardinfo2/arch/linux/common | |
| parent | 6789f8b6268352e89ae83ccb4449901568b8849c (diff) | |
Whoops.
Diffstat (limited to 'hardinfo2/arch/linux/common')
| -rw-r--r-- | hardinfo2/arch/linux/common/pci.h | 2 | 
1 files changed, 1 insertions, 1 deletions
| 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; | 
