summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_em.c
diff options
context:
space:
mode:
authorAlexander Yurchenko <grange@cvs.openbsd.org>2004-04-03 18:51:02 +0000
committerAlexander Yurchenko <grange@cvs.openbsd.org>2004-04-03 18:51:02 +0000
commit5e6ec8ec0b8fb9400b6dcd9d55aae4b3d2b0b0ff (patch)
tree67324ba38ba025d3aa5c6cdcf68eb565b59bf69f /sys/dev/pci/if_em.c
parentebc590b6b317abdb96b64fe16ec9e39844fcb6f0 (diff)
Add \n to some error messages to make dmesg looks better; ok deraadt@
Diffstat (limited to 'sys/dev/pci/if_em.c')
-rw-r--r--sys/dev/pci/if_em.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/pci/if_em.c b/sys/dev/pci/if_em.c
index 0763549f461..1cefa52f786 100644
--- a/sys/dev/pci/if_em.c
+++ b/sys/dev/pci/if_em.c
@@ -32,7 +32,7 @@ POSSIBILITY OF SUCH DAMAGE.
***************************************************************************/
/*$FreeBSD: if_em.c,v 1.26 2003/06/05 17:51:37 pdeuskar Exp $*/
-/* $OpenBSD: if_em.c,v 1.17 2004/02/12 21:21:06 markus Exp $ */
+/* $OpenBSD: if_em.c,v 1.18 2004/04/03 18:51:01 grange Exp $ */
#include "bpfilter.h"
#include "vlan.h"
@@ -1533,13 +1533,13 @@ em_allocate_pci_resources(struct em_softc * sc)
val = pci_conf_read(pa->pa_pc, pa->pa_tag, EM_MMBA);
if (PCI_MAPREG_TYPE(val) != PCI_MAPREG_TYPE_MEM) {
- printf(": mmba isn't memory");
+ printf(": mmba isn't memory\n");
return (ENXIO);
}
if (pci_mapreg_map(pa, EM_MMBA, PCI_MAPREG_MEM_TYPE(val), 0,
&sc->osdep.mem_bus_space_tag, &sc->osdep.mem_bus_space_handle,
&sc->osdep.em_membase, &sc->osdep.em_memsize, 0)) {
- printf(": can't find mem space");
+ printf(": can't find mem space\n");
return (ENXIO);
}
@@ -1559,7 +1559,7 @@ em_allocate_pci_resources(struct em_softc * sc)
&sc->osdep.em_iobhandle,
&sc->osdep.em_iobase,
&sc->osdep.em_iosize, 0)) {
- printf(": can't find io space");
+ printf(": can't find io space\n");
return (ENXIO);
}
}