diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2002-10-13 18:26:14 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2002-10-13 18:26:14 +0000 |
commit | 335991831456c021b43fd741d7cec55846a65d3c (patch) | |
tree | 5099460aabbda9d35161631e7e830e4240dfd716 /sys | |
parent | 6731d0fd3f98eba6b09192084b2267da62a9ffaf (diff) |
Remove more '\n's from panic() statements. From Chris Kuethe.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/i386/i386/pmap.c | 4 | ||||
-rw-r--r-- | sys/arch/mac68k/dev/mac68k5380.c | 4 | ||||
-rw-r--r-- | sys/arch/macppc/macppc/machdep.c | 4 | ||||
-rw-r--r-- | sys/arch/mvmeppc/mvmeppc/machdep.c | 4 | ||||
-rw-r--r-- | sys/arch/powerpc/powerpc/pmap.c | 4 | ||||
-rw-r--r-- | sys/arch/powerpc/powerpc/trap.c | 4 | ||||
-rw-r--r-- | sys/dev/pci/fms.c | 6 | ||||
-rw-r--r-- | sys/kern/subr_pool.c | 4 | ||||
-rw-r--r-- | sys/ufs/ufs/ufs_bmap.c | 4 |
9 files changed, 19 insertions, 19 deletions
diff --git a/sys/arch/i386/i386/pmap.c b/sys/arch/i386/i386/pmap.c index b4cd69592ac..a27c936996a 100644 --- a/sys/arch/i386/i386/pmap.c +++ b/sys/arch/i386/i386/pmap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.c,v 1.64 2002/10/12 01:09:43 krw Exp $ */ +/* $OpenBSD: pmap.c,v 1.65 2002/10/13 18:26:12 krw Exp $ */ /* $NetBSD: pmap.c,v 1.91 2000/06/02 17:46:37 thorpej Exp $ */ /* @@ -3148,7 +3148,7 @@ pmap_transfer(dstpmap, srcpmap, daddr, len, saddr, move) panic("pmap_transfer: dstvalid non-zero after drain"); if ((dstl.addr & (NBPD-1)) != 0) panic("pmap_transfer: dstaddr not on PD boundary " - "(0x%lx)\n", dstl.addr); + "(0x%lx)", dstl.addr); #endif if (dstptes == NULL && dstl.pte != NULL) { diff --git a/sys/arch/mac68k/dev/mac68k5380.c b/sys/arch/mac68k/dev/mac68k5380.c index 24d56de5356..afecbb42f2e 100644 --- a/sys/arch/mac68k/dev/mac68k5380.c +++ b/sys/arch/mac68k/dev/mac68k5380.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mac68k5380.c,v 1.15 2002/03/14 01:26:35 millert Exp $ */ +/* $OpenBSD: mac68k5380.c,v 1.16 2002/10/13 18:26:12 krw Exp $ */ /* $NetBSD: mac68k5380.c,v 1.29 1997/02/28 15:50:50 scottr Exp $ */ /* @@ -548,7 +548,7 @@ transfer_pdma(phasep, data, count) if (pdma_5380_dir) { panic("ncrscsi: transfer_pdma called when operation already " - "pending.\n"); + "pending."); } PID("transfer_pdma0") diff --git a/sys/arch/macppc/macppc/machdep.c b/sys/arch/macppc/macppc/machdep.c index 60600f2cd08..852ab217f91 100644 --- a/sys/arch/macppc/macppc/machdep.c +++ b/sys/arch/macppc/macppc/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.44 2002/09/23 04:25:52 drahn Exp $ */ +/* $OpenBSD: machdep.c,v 1.45 2002/10/13 18:26:12 krw Exp $ */ /* $NetBSD: machdep.c,v 1.4 1996/10/16 19:33:11 ws Exp $ */ /* @@ -1064,7 +1064,7 @@ ppc_intr_establish(lcv, ih, type, level, func, arg, name) ppc_configed_intr_cnt++; } else { panic("ppc_intr_establish called before interrupt controller" - " configured: driver %s too many interrupts\n", name); + " configured: driver %s too many interrupts", name); } /* disestablish is going to be tricky to supported for these :-) */ return (void *)ppc_configed_intr_cnt; diff --git a/sys/arch/mvmeppc/mvmeppc/machdep.c b/sys/arch/mvmeppc/mvmeppc/machdep.c index b9ea45475b0..588b8fc8620 100644 --- a/sys/arch/mvmeppc/mvmeppc/machdep.c +++ b/sys/arch/mvmeppc/mvmeppc/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.27 2002/07/20 19:24:56 art Exp $ */ +/* $OpenBSD: machdep.c,v 1.28 2002/10/13 18:26:12 krw Exp $ */ /* $NetBSD: machdep.c,v 1.4 1996/10/16 19:33:11 ws Exp $ */ /* @@ -1010,7 +1010,7 @@ ppc_intr_establish(lcv, ih, type, level, func, arg, name) ppc_configed_intr_cnt++; } else { panic("ppc_intr_establish called before interrupt controller" - " configured: driver %s too many interrupts\n", name); + " configured: driver %s too many interrupts", name); } /* disestablish is going to be tricky to supported for these :-) */ return (void *)ppc_configed_intr_cnt; diff --git a/sys/arch/powerpc/powerpc/pmap.c b/sys/arch/powerpc/powerpc/pmap.c index 8524f4b53ca..b018c05b6a9 100644 --- a/sys/arch/powerpc/powerpc/pmap.c +++ b/sys/arch/powerpc/powerpc/pmap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.c,v 1.76 2002/09/15 09:01:59 deraadt Exp $ */ +/* $OpenBSD: pmap.c,v 1.77 2002/10/13 18:26:12 krw Exp $ */ /* * Copyright (c) 2001, 2002 Dale Rahn. All rights reserved. @@ -1345,7 +1345,7 @@ pmap_steal_avail(size_t size, int align) } } } - panic ("unable to allocate region with size %x align %x\n", + panic ("unable to allocate region with size %x align %x", size, align); } diff --git a/sys/arch/powerpc/powerpc/trap.c b/sys/arch/powerpc/powerpc/trap.c index bb2b48f58db..bc508d5b8ba 100644 --- a/sys/arch/powerpc/powerpc/trap.c +++ b/sys/arch/powerpc/powerpc/trap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: trap.c,v 1.54 2002/09/15 09:01:59 deraadt Exp $ */ +/* $OpenBSD: trap.c,v 1.55 2002/10/13 18:26:12 krw Exp $ */ /* $NetBSD: trap.c,v 1.3 1996/10/13 03:31:37 christos Exp $ */ /* @@ -533,7 +533,7 @@ mpc_print_pci_stat(); name = "0"; offset = frame->srr0; } - panic ("trap type %x at %x (%s+0x%x) lr %x\n", + panic ("trap type %x at %x (%s+0x%x) lr %x", type, frame->srr0, name, offset, frame->lr); diff --git a/sys/dev/pci/fms.c b/sys/dev/pci/fms.c index cabbd8dac44..11871443a38 100644 --- a/sys/dev/pci/fms.c +++ b/sys/dev/pci/fms.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fms.c,v 1.12 2002/05/29 14:30:21 mickey Exp $ */ +/* $OpenBSD: fms.c,v 1.13 2002/10/13 18:26:12 krw Exp $ */ /* $NetBSD: fms.c,v 1.5.4.1 2000/06/30 16:27:50 simonb Exp $ */ /*- @@ -860,7 +860,7 @@ fms_trigger_output(addr, start, end, blksize, intr, arg, param) if (!p) panic("fms_trigger_output: request with bad start " - "address (%p)\n", start); + "address (%p)", start); sc->sc_play_start = p->map->dm_segs[0].ds_addr; sc->sc_play_end = sc->sc_play_start + ((char *)end - (char *)start); @@ -898,7 +898,7 @@ fms_trigger_input(addr, start, end, blksize, intr, arg, param) if (!p) panic("fms_trigger_input: request with bad start " - "address (%p)\n", start); + "address (%p)", start); sc->sc_rec_start = p->map->dm_segs[0].ds_addr; sc->sc_rec_end = sc->sc_rec_start + ((char *)end - (char *)start); diff --git a/sys/kern/subr_pool.c b/sys/kern/subr_pool.c index 573adbb4487..74e22626cc8 100644 --- a/sys/kern/subr_pool.c +++ b/sys/kern/subr_pool.c @@ -1,4 +1,4 @@ -/* $OpenBSD: subr_pool.c,v 1.33 2002/10/12 01:09:45 krw Exp $ */ +/* $OpenBSD: subr_pool.c,v 1.34 2002/10/13 18:26:12 krw Exp $ */ /* $NetBSD: subr_pool.c,v 1.61 2001/09/26 07:14:56 chs Exp $ */ /*- @@ -790,7 +790,7 @@ pool_get(struct pool *pp, int flags) if (__predict_false(pi->pi_magic != PI_MAGIC)) { pr_printlog(pp, pi, printf); panic("pool_get(%s): free list modified: magic=%x; page %p;" - " item addr %p\n", + " item addr %p", pp->pr_wchan, pi->pi_magic, ph->ph_page, pi); } #endif diff --git a/sys/ufs/ufs/ufs_bmap.c b/sys/ufs/ufs/ufs_bmap.c index fd8b1c397b3..6b4bb97319b 100644 --- a/sys/ufs/ufs/ufs_bmap.c +++ b/sys/ufs/ufs/ufs_bmap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ufs_bmap.c,v 1.13 2002/02/22 20:37:46 drahn Exp $ */ +/* $OpenBSD: ufs_bmap.c,v 1.14 2002/10/13 18:26:13 krw Exp $ */ /* $NetBSD: ufs_bmap.c,v 1.3 1996/02/09 22:36:00 christos Exp $ */ /* @@ -246,7 +246,7 @@ ufs_getlbns(vp, bn, ap, nump) #ifdef DIAGNOSTIC if (realbn < 0 && realbn > -NDADDR) { - panic ("ufs_getlbns: Invalid indirect block %d specified\n", + panic ("ufs_getlbns: Invalid indirect block %d specified", realbn); } #endif |