summaryrefslogtreecommitdiff
path: root/sys/dev/ic
diff options
context:
space:
mode:
authortsutsui <tsutsui@NetBSD.org>2005-02-18 17:56:57 +0000
committertsutsui <tsutsui@NetBSD.org>2005-02-18 17:56:57 +0000
commitabb2f77dd5c461eea83978c302de887be2b4423e (patch)
treed52f48eb04834897bd9b040f496e1537ae2077b1 /sys/dev/ic
parent0717077eeaf5c01022582aeab8a8be15bb037039 (diff)
Print newline in some error messages.
Diffstat (limited to 'sys/dev/ic')
-rw-r--r--sys/dev/ic/osiop.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/ic/osiop.c b/sys/dev/ic/osiop.c
index 81fa30c381f..4194f63eed6 100644
--- a/sys/dev/ic/osiop.c
+++ b/sys/dev/ic/osiop.c
@@ -1,4 +1,4 @@
-/* $NetBSD: osiop.c,v 1.21 2005/02/17 11:30:58 tsutsui Exp $ */
+/* $NetBSD: osiop.c,v 1.22 2005/02/18 17:56:57 tsutsui Exp $ */
/*
* Copyright (c) 2001 Izumi Tsutsui. All rights reserved.
@@ -100,7 +100,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: osiop.c,v 1.21 2005/02/17 11:30:58 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: osiop.c,v 1.22 2005/02/18 17:56:57 tsutsui Exp $");
/* #define OSIOP_DEBUG */
@@ -414,7 +414,7 @@ osiop_scsipi_request(struct scsipi_channel *chan, scsipi_adapter_req_t req,
err = bus_dmamap_load(sc->sc_dmat, acb->cmddma,
xs->cmd, xs->cmdlen, NULL, BUS_DMA_NOWAIT);
if (err) {
- printf("%s: unable to load cmd DMA map: %d",
+ printf("%s: unable to load cmd DMA map: %d\n",
sc->sc_dev.dv_xname, err);
xs->error = XS_DRIVER_STUFFUP;
TAILQ_INSERT_TAIL(&sc->free_list, acb, chain);
@@ -431,7 +431,7 @@ osiop_scsipi_request(struct scsipi_channel *chan, scsipi_adapter_req_t req,
((xs->xs_control & XS_CTL_DATA_IN) ?
BUS_DMA_READ : BUS_DMA_WRITE));
if (err) {
- printf("%s: unable to load data DMA map: %d",
+ printf("%s: unable to load data DMA map: %d\n",
sc->sc_dev.dv_xname, err);
xs->error = XS_DRIVER_STUFFUP;
scsipi_done(xs);