mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
Fix an off-by one printing error
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13469 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -162,7 +162,7 @@ static int bcm963xx_probe(struct platform_device *pdev)
|
||||
printk(KERN_ERR PFX "Failed to ioremap\n");
|
||||
return -EIO;
|
||||
}
|
||||
printk(KERN_INFO PFX "0x%08x at 0x%08x\n", r->end - r->start, r->start);
|
||||
printk(KERN_INFO PFX "0x%08x at 0x%08x\n", (r->end - r->start) + 1, r->start);
|
||||
|
||||
simple_map_init(&bcm963xx_map);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user