summaryrefslogtreecommitdiff
path: root/sys/arch/sgi/pci/ioc.c
diff options
context:
space:
mode:
authorStuart Henderson <sthen@cvs.openbsd.org>2009-03-29 21:53:54 +0000
committerStuart Henderson <sthen@cvs.openbsd.org>2009-03-29 21:53:54 +0000
commit69c5b21cf2da9c2ff6a2d3adf1f48f811feac372 (patch)
tree599868694b84d6aa6c93806fb08f3921218dba10 /sys/arch/sgi/pci/ioc.c
parente8880d029cebac8827fe0228bf64b8a2ba3ad456 (diff)
make various strings ("can't map mem space" and similar) more consistent
between instances, saving space in the kernel. feedback from many (some incorporated, some left for future work). ok deraadt, kettenis, "why not" miod.
Diffstat (limited to 'sys/arch/sgi/pci/ioc.c')
-rw-r--r--sys/arch/sgi/pci/ioc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/sgi/pci/ioc.c b/sys/arch/sgi/pci/ioc.c
index f4dfc901d33..b02d4abb9ea 100644
--- a/sys/arch/sgi/pci/ioc.c
+++ b/sys/arch/sgi/pci/ioc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ioc.c,v 1.1 2008/04/07 22:53:00 miod Exp $ */
+/* $OpenBSD: ioc.c,v 1.2 2009/03/29 21:53:52 sthen Exp $ */
/*
* Copyright (c) 2008 Joel Sing.
@@ -119,7 +119,7 @@ ioc_attach(struct device *parent, struct device *self, void *aux)
if (pci_mapreg_map(pa, PCI_MAPREG_START, PCI_MAPREG_TYPE_MEM, 0,
&memt, &memh, NULL, &memsize, 0)) {
- printf(": cannot map memory space!\n");
+ printf(": can't map mem space\n");
return;
}
@@ -138,7 +138,7 @@ ioc_attach(struct device *parent, struct device *self, void *aux)
M_DEVBUF, M_NOWAIT);
if (sc->sc_mem_bus_space == NULL) {
bus_space_unmap(memt, memh, memsize);
- printf(": cannot allocate bus_space\n");
+ printf(": can't allocate bus_space\n");
return;
}