diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2002-10-09 23:43:12 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2002-10-09 23:43:12 +0000 |
commit | 7fe821d45d2fd0c6ca0edd62f5b4efcf9e53e4b0 (patch) | |
tree | 31e7dad9c1c55e779ae321a8c95cfe5ec3d6d03f /sys/dev/ic/ncr53c9x.c | |
parent | 115a56b437e49fe2ea3d826359ab58dad9f5a11d (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/ncr53c9x.c')
-rw-r--r-- | sys/dev/ic/ncr53c9x.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/ic/ncr53c9x.c b/sys/dev/ic/ncr53c9x.c index d92e3566672..8a8c2be8977 100644 --- a/sys/dev/ic/ncr53c9x.c +++ b/sys/dev/ic/ncr53c9x.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ncr53c9x.c,v 1.15 2002/09/04 22:08:06 fgsch Exp $ */ +/* $OpenBSD: ncr53c9x.c,v 1.16 2002/10/09 23:43:11 krw Exp $ */ /* $NetBSD: ncr53c9x.c,v 1.56 2000/11/30 14:41:46 thorpej Exp $ */ /* @@ -984,7 +984,7 @@ ncr53c9x_sched(sc) } #ifdef DIAGNOSTIC if (i == 256) - panic("ncr53c9x_sched: tag alloc failure\n"); + panic("ncr53c9x_sched: tag alloc failure"); #endif /* Save where to start next time. */ @@ -1160,7 +1160,7 @@ ncr53c9x_dequeue(sc, ecb) li = TINFO_LUN(ti, lun); #ifdef DIAGNOSTIC if ((!li) || (li->lun != lun)) - panic("ncr53c9x_dequeue: lun %qx for ecb %p does not exist\n", + panic("ncr53c9x_dequeue: lun %qx for ecb %p does not exist", (long long)lun, ecb); #endif if (li->untagged == ecb) { @@ -1171,7 +1171,7 @@ ncr53c9x_dequeue(sc, ecb) #ifdef DIAGNOSTIC if (li->queued[ecb->tag[1]] && (li->queued[ecb->tag[1]] != ecb)) panic("ncr53c9x_dequeue: slot %d for lun %qx has %p " - "instead of ecb %p\n", ecb->tag[1], + "instead of ecb %p", ecb->tag[1], (long long)lun, li->queued[ecb->tag[1]], ecb); #endif @@ -1229,7 +1229,7 @@ ncr53c9x_rdfifo(struct ncr53c9x_softc *sc, int how) buf = sc->sc_imess + sc->sc_imlen; break; default: - panic("ncr53c9x_rdfifo: bad flag\n"); + panic("ncr53c9x_rdfifo: bad flag"); break; } |