summaryrefslogtreecommitdiff
path: root/sys/dev/ic/dpt.c
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2002-10-09 23:43:12 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2002-10-09 23:43:12 +0000
commit7fe821d45d2fd0c6ca0edd62f5b4efcf9e53e4b0 (patch)
tree31e7dad9c1c55e779ae321a8c95cfe5ec3d6d03f /sys/dev/ic/dpt.c
parent115a56b437e49fe2ea3d826359ab58dad9f5a11d (diff)
Remove trailing '\n's from panic messages.
Started by a commit to siop from provos@netbsd.org. ok miod@ millert@
Diffstat (limited to 'sys/dev/ic/dpt.c')
-rw-r--r--sys/dev/ic/dpt.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ic/dpt.c b/sys/dev/ic/dpt.c
index d5d97556797..1fb14a98187 100644
--- a/sys/dev/ic/dpt.c
+++ b/sys/dev/ic/dpt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dpt.c,v 1.6 2002/03/14 01:26:54 millert Exp $ */
+/* $OpenBSD: dpt.c,v 1.7 2002/10/09 23:43:11 krw Exp $ */
/* $NetBSD: dpt.c,v 1.12 1999/10/23 16:26:33 ad Exp $ */
/*-
@@ -525,7 +525,7 @@ dpt_poll(sc, ccb)
#ifdef DEBUG
if ((ccb->ccb_flg & CCB_PRIVATE) == 0)
- panic("dpt_poll: called for non-CCB_PRIVATE request\n");
+ panic("dpt_poll: called for non-CCB_PRIVATE request");
#endif
if ((ccb->ccb_flg & CCB_INTR) != 0)
@@ -819,7 +819,7 @@ dpt_done_ccb(sc, ccb)
*/
#ifdef DIAGNOSTIC
if ((ccb->ccb_flg & CCB_ALLOC) == 0) {
- panic("%s: done ccb not allocated!\n", sc->sc_dv.dv_xname);
+ panic("%s: done ccb not allocated!", sc->sc_dv.dv_xname);
return;
}
#endif