summaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorFederico G. Schwindt <fgsch@cvs.openbsd.org>2007-11-02 00:01:38 +0000
committerFederico G. Schwindt <fgsch@cvs.openbsd.org>2007-11-02 00:01:38 +0000
commitd16ef559b160710f10a2177d6899ff4cca71bc6e (patch)
tree063e07078cec3707ae387282d7ad7fdb2c4d648e /sys/dev/pci
parent8310006f4ec2572e2f4e293e11365f770ef93e2a (diff)
Fix ram size output botched in my last change; reported by
Pablo Méndez Hernández.
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/siop_pci_common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/siop_pci_common.c b/sys/dev/pci/siop_pci_common.c
index 03e6ab85cdc..93b934f7606 100644
--- a/sys/dev/pci/siop_pci_common.c
+++ b/sys/dev/pci/siop_pci_common.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: siop_pci_common.c,v 1.16 2007/10/28 14:17:19 fgsch Exp $ */
+/* $OpenBSD: siop_pci_common.c,v 1.17 2007/11/02 00:01:37 fgsch Exp $ */
/* $NetBSD: siop_pci_common.c,v 1.25 2005/06/28 00:28:42 thorpej Exp $ */
/*
@@ -307,7 +307,7 @@ siop_pci_attach_common(struct siop_pci_common_softc *pci_sc,
&siop_sc->sc_ramt, &siop_sc->sc_ramh,
&siop_sc->sc_scriptaddr, &ramsize, 0) == 0) {
printf(", using %luK of on-board RAM",
- (u_long)memsize / 1024);
+ (u_long)ramsize / 1024);
} else {
printf(", can't map on-board RAM");
siop_sc->features &= ~SF_CHIP_RAM;