summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci/if_gem_pci.c
diff options
context:
space:
mode:
authorsthen <sthen@openbsd.org>2009-03-29 21:53:52 +0000
committersthen <sthen@openbsd.org>2009-03-29 21:53:52 +0000
commite10c952f7e94bfde9fcd30d5b1abf17668c63aad (patch)
treede7626cb1afd57d0e8808c8c6cef7adb3976dd0a /sys/dev/pci/if_gem_pci.c
parentMake sure systat mbufs prints the interface name even if an interface only (diff)
downloadwireguard-openbsd-e10c952f7e94bfde9fcd30d5b1abf17668c63aad.tar.xz
wireguard-openbsd-e10c952f7e94bfde9fcd30d5b1abf17668c63aad.zip
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/dev/pci/if_gem_pci.c')
-rw-r--r--sys/dev/pci/if_gem_pci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_gem_pci.c b/sys/dev/pci/if_gem_pci.c
index d64d662f8ae..ed188600a6d 100644
--- a/sys/dev/pci/if_gem_pci.c
+++ b/sys/dev/pci/if_gem_pci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_gem_pci.c,v 1.28 2007/04/19 19:00:01 kettenis Exp $ */
+/* $OpenBSD: if_gem_pci.c,v 1.29 2009/03/29 21:53:52 sthen Exp $ */
/* $NetBSD: if_gem_pci.c,v 1.1 2001/09/16 00:11:42 eeh Exp $ */
/*
@@ -247,7 +247,7 @@ gem_attach_pci(struct device *parent, struct device *self, void *aux)
#define PCI_GEM_BASEADDR 0x10
if (pci_mapreg_map(pa, PCI_GEM_BASEADDR, type, 0,
&gsc->gsc_memt, &gsc->gsc_memh, NULL, &size, 0) != 0) {
- printf(": could not map registers\n");
+ printf(": can't map registers\n");
return;
}