From 69c5b21cf2da9c2ff6a2d3adf1f48f811feac372 Mon Sep 17 00:00:00 2001 From: Stuart Henderson Date: Sun, 29 Mar 2009 21:53:54 +0000 Subject: 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. --- sys/dev/pci/if_sandrv.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/dev/pci/if_sandrv.c') diff --git a/sys/dev/pci/if_sandrv.c b/sys/dev/pci/if_sandrv.c index 3dc519456d5..db53b162c79 100644 --- a/sys/dev/pci/if_sandrv.c +++ b/sys/dev/pci/if_sandrv.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_sandrv.c,v 1.13 2009/01/20 20:03:45 grange Exp $ */ +/* $OpenBSD: if_sandrv.c,v 1.14 2009/03/29 21:53:52 sthen Exp $ */ /*- * Copyright (c) 2001-2004 Sangoma Technologies (SAN) @@ -488,7 +488,7 @@ sdla_pci_probe(int atype, struct pci_attach_args *pa) /* Map and establish the interrupt */ if (pci_intr_map(pa, &ih)) { - printf(": couldn't map interrupt\n"); + printf(": can't map interrupt\n"); return (EINVAL); } intrstr = pci_intr_string(pa->pa_pc, ih); @@ -1147,7 +1147,7 @@ sdla_detect_aft(sdlahw_t *hw) bus_space_map(hw->hwcard->memt, hw->mem_base_addr, XILINX_PCI_MEM_SIZE, 0, &hw->dpmbase); if (!hw->dpmbase) { - printf("%s: couldn't map memory\n", hw->devname); + printf("%s: can't map mem space\n", hw->devname); return (EINVAL); } hw->status |= SDLA_MEM_MAPPED; -- cgit v1.2.3