From edf8a81561ba99036993c8fad8a5955252f630a8 Mon Sep 17 00:00:00 2001 From: David Greenman Date: Sun, 19 Mar 1995 14:29:26 +0000 Subject: [PATCH] Removed redundant newlines that were in some panic strings. --- sys/amd64/amd64/vm_machdep.c | 8 ++++---- sys/ddb/db_command.c | 4 ++-- sys/dev/ie/if_ie.c | 4 ++-- sys/fs/msdosfs/msdosfs_vnops.c | 4 ++-- sys/fs/nullfs/null_vnops.c | 4 ++-- sys/fs/umapfs/umap_vnops.c | 4 ++-- sys/gnu/i386/isa/nic3008.c | 9 ++++++--- sys/i386/i386/vm_machdep.c | 8 ++++---- sys/i386/isa/if_ie.c | 4 ++-- sys/i386/isa/sound/dev_table.c | 4 ++-- sys/i386/isa/sound/os.h | 2 +- sys/kern/kern_malloc.c | 10 ++++------ sys/miscfs/nullfs/null_vnops.c | 4 ++-- sys/miscfs/umapfs/umap_vnops.c | 4 ++-- sys/msdosfs/msdosfs_vnops.c | 4 ++-- sys/netccitt/llc_output.c | 4 ++-- sys/netinet/in_rmx.c | 4 ++-- sys/netns/ns_ip.c | 4 ++-- sys/netns/spp_usrreq.c | 4 ++-- sys/scsi/scsiconf.c | 4 ++-- sys/ufs/ffs/ffs_alloc.c | 8 ++++---- sys/ufs/ffs/ffs_balloc.c | 4 ++-- sys/ufs/lfs/lfs_alloc.c | 4 ++-- sys/ufs/lfs/lfs_inode.c | 4 ++-- sys/ufs/lfs/lfs_segment.c | 6 +++--- sys/ufs/lfs/lfs_vfsops.c | 4 ++-- sys/ufs/mfs/mfs_vnops.c | 4 ++-- sys/vm/swap_pager.c | 4 ++-- sys/vm/vm_mmap.c | 4 ++-- sys/vm/vm_page.c | 4 ++-- 30 files changed, 72 insertions(+), 71 deletions(-) diff --git a/sys/amd64/amd64/vm_machdep.c b/sys/amd64/amd64/vm_machdep.c index b4ae07c941e3..8c3c70acef01 100644 --- a/sys/amd64/amd64/vm_machdep.c +++ b/sys/amd64/amd64/vm_machdep.c @@ -38,7 +38,7 @@ * * from: @(#)vm_machdep.c 7.3 (Berkeley) 5/13/91 * Utah $Hdr: vm_machdep.c 1.16.1.1 89/06/23$ - * $Id: vm_machdep.c,v 1.33 1995/03/01 23:59:21 davidg Exp $ + * $Id: vm_machdep.c,v 1.34 1995/03/16 18:11:33 bde Exp $ */ #include "npx.h" @@ -155,7 +155,7 @@ vm_bounce_page_free(pa, count) int bit; if (count != 1) - panic("vm_bounce_page_free -- no support for > 1 page yet!!!\n"); + panic("vm_bounce_page_free -- no support for > 1 page yet!!!"); for(index=0;indexde_StartCluster; if (cn == MSDOSFSROOT) { /* this should never happen */ - panic("msdosfs_rename(): updating .. in root directory?\n"); + panic("msdosfs_rename(): updating .. in root directory?"); } else { bn = cntobn(pmp, cn); } diff --git a/sys/fs/nullfs/null_vnops.c b/sys/fs/nullfs/null_vnops.c index 4f51452fe619..9136baf78da5 100644 --- a/sys/fs/nullfs/null_vnops.c +++ b/sys/fs/nullfs/null_vnops.c @@ -35,7 +35,7 @@ * * @(#)null_vnops.c 8.1 (Berkeley) 6/10/93 * - * $Id: null_vnops.c,v 1.5 1994/09/21 23:22:41 wollman Exp $ + * $Id: null_vnops.c,v 1.6 1994/10/10 07:55:29 phk Exp $ */ /* @@ -225,7 +225,7 @@ null_bypass(ap) */ if (descp->vdesc_vp_offsets == NULL || descp->vdesc_vp_offsets[0] == VDESC_NO_OFFSET) - panic ("null_bypass: no vp's in map.\n"); + panic ("null_bypass: no vp's in map."); #endif /* diff --git a/sys/fs/umapfs/umap_vnops.c b/sys/fs/umapfs/umap_vnops.c index ddbe4995cdb8..14d3fcc48266 100644 --- a/sys/fs/umapfs/umap_vnops.c +++ b/sys/fs/umapfs/umap_vnops.c @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * @(#)umap_vnops.c 8.3 (Berkeley) 1/5/94 - * $Id: umap_vnops.c,v 1.6 1994/09/21 23:22:43 wollman Exp $ + * $Id: umap_vnops.c,v 1.7 1994/10/10 07:55:44 phk Exp $ */ /* @@ -89,7 +89,7 @@ umap_bypass(ap) */ if (descp->vdesc_vp_offsets == NULL || descp->vdesc_vp_offsets[0] == VDESC_NO_OFFSET) - panic ("umap_bypass: no vp's in map.\n"); + panic ("umap_bypass: no vp's in map."); #endif /* diff --git a/sys/gnu/i386/isa/nic3008.c b/sys/gnu/i386/isa/nic3008.c index 8c4643445291..bb9f57ee2310 100644 --- a/sys/gnu/i386/isa/nic3008.c +++ b/sys/gnu/i386/isa/nic3008.c @@ -1,6 +1,6 @@ -static char nic38_id[] = "@(#)$Id: nic3008.c,v 1.1 1995/02/14 15:00:10 jkh Exp $"; +static char nic38_id[] = "@(#)$Id: nic3008.c,v 1.2 1995/02/15 11:59:40 jkh Exp $"; /******************************************************************************* - * II - Version 0.1 $Revision: 1.1 $ $State: Exp $ + * II - Version 0.1 $Revision: 1.2 $ $State: Exp $ * * Copyright 1994 Dietmar Friede ******************************************************************************* @@ -10,6 +10,9 @@ static char nic38_id[] = "@(#)$Id: nic3008.c,v 1.1 1995/02/14 15:00:10 jkh E * ******************************************************************************* * $Log: nic3008.c,v $ + * Revision 1.2 1995/02/15 11:59:40 jkh + * Fix a few more nits. Should compile better now! :_) + * * Revision 1.1 1995/02/14 15:00:10 jkh * An ISDN driver that supports the EDSS1 and the 1TR6 ISDN interfaces. * EDSS1 is the "Euro-ISDN", 1TR6 is the soon obsolete german ISDN Interface. @@ -748,7 +751,7 @@ b_intr(int mb, int c, struct nic_softc * sc) isdn_ctrl_t *ctrl = &isdn_ctrl[chan->ctrl]; if(((unsigned)(mbx->type >> 8) > 3) || ((pl & 0xff00) == 0xff00)) - panic("3008 conflict with 16 bit card\nReconfig your system\n"); + panic("3008 conflict with 16 bit card\nReconfig your system"); if (dpr->msg_flg[mb+1]) return; /* can happen. Should make no problems */ diff --git a/sys/i386/i386/vm_machdep.c b/sys/i386/i386/vm_machdep.c index b4ae07c941e3..8c3c70acef01 100644 --- a/sys/i386/i386/vm_machdep.c +++ b/sys/i386/i386/vm_machdep.c @@ -38,7 +38,7 @@ * * from: @(#)vm_machdep.c 7.3 (Berkeley) 5/13/91 * Utah $Hdr: vm_machdep.c 1.16.1.1 89/06/23$ - * $Id: vm_machdep.c,v 1.33 1995/03/01 23:59:21 davidg Exp $ + * $Id: vm_machdep.c,v 1.34 1995/03/16 18:11:33 bde Exp $ */ #include "npx.h" @@ -155,7 +155,7 @@ vm_bounce_page_free(pa, count) int bit; if (count != 1) - panic("vm_bounce_page_free -- no support for > 1 page yet!!!\n"); + panic("vm_bounce_page_free -- no support for > 1 page yet!!!"); for(index=0;index @@ -265,12 +265,10 @@ free(addr, type) #ifdef DIAGNOSTIC if ((char *)addr < kmembase || (char *)addr >= kmemlimit) { - printf("free: address 0x%x out of range\n", addr); - panic("free: bogus address"); + panic("free: address 0x%x out of range", addr); } if ((u_long)type > M_LAST) { - printf("free: type %d out of range\n", type); - panic("free: bogus type"); + panic("free: type %d out of range", type); } #endif kup = btokup(addr); @@ -287,7 +285,7 @@ free(addr, type) else alloc = addrmask[kup->ku_indx]; if (((u_long)addr & alloc) != 0) - panic("free: unaligned addr 0x%x, size %d, type %s, mask %d\n", + panic("free: unaligned addr 0x%x, size %d, type %s, mask %d", addr, size, memname[type], alloc); #endif /* DIAGNOSTIC */ if (size > MAXALLOCSAVE) { diff --git a/sys/miscfs/nullfs/null_vnops.c b/sys/miscfs/nullfs/null_vnops.c index 4f51452fe619..9136baf78da5 100644 --- a/sys/miscfs/nullfs/null_vnops.c +++ b/sys/miscfs/nullfs/null_vnops.c @@ -35,7 +35,7 @@ * * @(#)null_vnops.c 8.1 (Berkeley) 6/10/93 * - * $Id: null_vnops.c,v 1.5 1994/09/21 23:22:41 wollman Exp $ + * $Id: null_vnops.c,v 1.6 1994/10/10 07:55:29 phk Exp $ */ /* @@ -225,7 +225,7 @@ null_bypass(ap) */ if (descp->vdesc_vp_offsets == NULL || descp->vdesc_vp_offsets[0] == VDESC_NO_OFFSET) - panic ("null_bypass: no vp's in map.\n"); + panic ("null_bypass: no vp's in map."); #endif /* diff --git a/sys/miscfs/umapfs/umap_vnops.c b/sys/miscfs/umapfs/umap_vnops.c index ddbe4995cdb8..14d3fcc48266 100644 --- a/sys/miscfs/umapfs/umap_vnops.c +++ b/sys/miscfs/umapfs/umap_vnops.c @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * @(#)umap_vnops.c 8.3 (Berkeley) 1/5/94 - * $Id: umap_vnops.c,v 1.6 1994/09/21 23:22:43 wollman Exp $ + * $Id: umap_vnops.c,v 1.7 1994/10/10 07:55:44 phk Exp $ */ /* @@ -89,7 +89,7 @@ umap_bypass(ap) */ if (descp->vdesc_vp_offsets == NULL || descp->vdesc_vp_offsets[0] == VDESC_NO_OFFSET) - panic ("umap_bypass: no vp's in map.\n"); + panic ("umap_bypass: no vp's in map."); #endif /* diff --git a/sys/msdosfs/msdosfs_vnops.c b/sys/msdosfs/msdosfs_vnops.c index b309fcf97e50..6f90d85863bc 100644 --- a/sys/msdosfs/msdosfs_vnops.c +++ b/sys/msdosfs/msdosfs_vnops.c @@ -1,4 +1,4 @@ -/* $Id: msdosfs_vnops.c,v 1.11 1994/12/27 12:37:36 bde Exp $ */ +/* $Id: msdosfs_vnops.c,v 1.12 1995/01/09 16:05:00 davidg Exp $ */ /* $NetBSD: msdosfs_vnops.c,v 1.20 1994/08/21 18:44:13 ws Exp $ */ /*- @@ -1185,7 +1185,7 @@ msdosfs_rename(ap) cn = fdep->de_StartCluster; if (cn == MSDOSFSROOT) { /* this should never happen */ - panic("msdosfs_rename(): updating .. in root directory?\n"); + panic("msdosfs_rename(): updating .. in root directory?"); } else { bn = cntobn(pmp, cn); } diff --git a/sys/netccitt/llc_output.c b/sys/netccitt/llc_output.c index aacba3d0c09b..64e595dc3cc8 100644 --- a/sys/netccitt/llc_output.c +++ b/sys/netccitt/llc_output.c @@ -37,7 +37,7 @@ * SUCH DAMAGE. * * @(#)llc_output.c 8.1 (Berkeley) 6/10/93 - * $Id$ + * $Id: llc_output.c,v 1.2 1994/08/02 07:47:18 davidg Exp $ */ #include @@ -137,7 +137,7 @@ llc_resend(struct llc_linkcb *linkp, int cmdrsp, int pollfinal) if (linkp->llcl_slotsfree < linkp->llcl_window) /* assert lock between nr_received & V(S) */ if (linkp->llcl_nr_received != linkp->llcl_vs) - panic("llc: V(S) != N(R) received\n"); + panic("llc: V(S) != N(R) received"); for (slot = llc_seq2slot(linkp, linkp->llcl_vs); slot != linkp->llcl_freeslot; diff --git a/sys/netinet/in_rmx.c b/sys/netinet/in_rmx.c index 063cc0ff506f..73b91b57d585 100644 --- a/sys/netinet/in_rmx.c +++ b/sys/netinet/in_rmx.c @@ -26,7 +26,7 @@ * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: in_rmx.c,v 1.10 1995/02/14 23:11:26 wollman Exp $ + * $Id: in_rmx.c,v 1.11 1995/02/20 15:48:44 davidg Exp $ */ /* @@ -168,7 +168,7 @@ in_rtqkill(struct radix_node *rn, void *rock) if(ap->draining || rt->rt_rmx.rmx_expire <= time.tv_sec) { if(rt->rt_refcnt > 0) - panic("rtqkill route really not free\n"); + panic("rtqkill route really not free"); err = rtrequest(RTM_DELETE, (struct sockaddr *)rt_key(rt), diff --git a/sys/netns/ns_ip.c b/sys/netns/ns_ip.c index c10af1f142b5..e87e1656bc22 100644 --- a/sys/netns/ns_ip.c +++ b/sys/netns/ns_ip.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)ns_ip.c 8.1 (Berkeley) 6/10/93 - * $Id$ + * $Id: ns_ip.c,v 1.2 1994/08/02 07:51:50 davidg Exp $ */ /* @@ -304,7 +304,7 @@ nsipoutput(ifn, m, dst) nsipstart(ifp) struct ifnet *ifp; { - panic("nsip_start called\n"); + panic("nsip_start called"); } struct ifreq ifr = {"nsip0"}; diff --git a/sys/netns/spp_usrreq.c b/sys/netns/spp_usrreq.c index 08aee83d626e..88643b8b7534 100644 --- a/sys/netns/spp_usrreq.c +++ b/sys/netns/spp_usrreq.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)spp_usrreq.c 8.1 (Berkeley) 6/10/93 - * $Id$ + * $Id: spp_usrreq.c,v 1.2 1994/08/02 07:52:00 davidg Exp $ */ #include @@ -87,7 +87,7 @@ spp_input(m, nsp) sppstat.spps_rcvtotal++; if (nsp == 0) { - panic("No nspcb in spp_input\n"); + panic("No nspcb in spp_input"); return; } diff --git a/sys/scsi/scsiconf.c b/sys/scsi/scsiconf.c index 53dbf27f08ce..5724c72c0d66 100644 --- a/sys/scsi/scsiconf.c +++ b/sys/scsi/scsiconf.c @@ -16,7 +16,7 @@ * * New configuration setup: dufault@hda.com * - * $Id: scsiconf.c,v 1.23 1995/03/15 14:22:08 dufault Exp $ + * $Id: scsiconf.c,v 1.24 1995/03/16 18:15:49 bde Exp $ */ #include @@ -568,7 +568,7 @@ scsi_attachdevs(sc_link_proto) sc_link_proto->scsibus = scsibus; scbus = malloc(sizeof(struct scsibus_data), M_TEMP, M_NOWAIT); if(scbus == 0 || extend_set(scbusses, scsibus, scbus) == 0) { - panic("scsi_attachdevs: malloc\n"); + panic("scsi_attachdevs: malloc"); } bzero(scbus, sizeof(struct scsibus_data)); scbus->adapter_link = sc_link_proto; diff --git a/sys/ufs/ffs/ffs_alloc.c b/sys/ufs/ffs/ffs_alloc.c index fe0701416f46..81d1fe48f7c0 100644 --- a/sys/ufs/ffs/ffs_alloc.c +++ b/sys/ufs/ffs/ffs_alloc.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)ffs_alloc.c 8.8 (Berkeley) 2/21/94 - * $Id: ffs_alloc.c,v 1.9 1995/03/03 22:13:15 davidg Exp $ + * $Id: ffs_alloc.c,v 1.10 1995/03/10 22:11:50 davidg Exp $ */ #include @@ -111,7 +111,7 @@ ffs_alloc(ip, lbn, bpref, size, cred, bnp) panic("ffs_alloc: bad size"); } if (cred == NOCRED) - panic("ffs_alloc: missing credential\n"); + panic("ffs_alloc: missing credential"); #endif /* DIAGNOSTIC */ if (size == fs->fs_bsize && fs->fs_cstotal.cs_nbfree == 0) goto nospace; @@ -181,7 +181,7 @@ ffs_realloccg(ip, lbprev, bpref, osize, nsize, cred, bpp) panic("ffs_realloccg: bad size"); } if (cred == NOCRED) - panic("ffs_realloccg: missing credential\n"); + panic("ffs_realloccg: missing credential"); #endif /* DIAGNOSTIC */ if (cred->cr_uid != 0 && freespace(fs, fs->fs_minfree) <= 0) goto nospace; @@ -1296,7 +1296,7 @@ ffs_vfree(ap) pip = VTOI(ap->a_pvp); fs = pip->i_fs; if ((u_int)ino >= fs->fs_ipg * fs->fs_ncg) - panic("ifree: range: dev = 0x%x, ino = %d, fs = %s\n", + panic("ifree: range: dev = 0x%x, ino = %d, fs = %s", pip->i_dev, ino, fs->fs_fsmnt); cg = ino_to_cg(fs, ino); error = bread(pip->i_devvp, fsbtodb(fs, cgtod(fs, cg)), diff --git a/sys/ufs/ffs/ffs_balloc.c b/sys/ufs/ffs/ffs_balloc.c index 83a9328ff6e3..b9994a1e350e 100644 --- a/sys/ufs/ffs/ffs_balloc.c +++ b/sys/ufs/ffs/ffs_balloc.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)ffs_balloc.c 8.4 (Berkeley) 9/23/93 - * $Id: ffs_balloc.c,v 1.4 1994/10/10 01:04:36 phk Exp $ + * $Id: ffs_balloc.c,v 1.5 1995/03/03 22:13:16 davidg Exp $ */ #include @@ -166,7 +166,7 @@ ffs_balloc(ip, bn, size, cred, bpp, flags) return(error); #ifdef DIAGNOSTIC if (num < 1) - panic ("ffs_balloc: ufs_bmaparray returned indirect block\n"); + panic ("ffs_balloc: ufs_bmaparray returned indirect block"); #endif /* * Fetch the first indirect block allocating if necessary. diff --git a/sys/ufs/lfs/lfs_alloc.c b/sys/ufs/lfs/lfs_alloc.c index feaa8d22eb85..3606484ffe3f 100644 --- a/sys/ufs/lfs/lfs_alloc.c +++ b/sys/ufs/lfs/lfs_alloc.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)lfs_alloc.c 8.4 (Berkeley) 1/4/94 - * $Id: lfs_alloc.c,v 1.4 1994/08/29 06:09:14 davidg Exp $ + * $Id: lfs_alloc.c,v 1.5 1994/10/10 01:04:48 phk Exp $ */ #include @@ -237,7 +237,7 @@ lfs_vfree(ap) LFS_SEGENTRY(sup, fs, datosn(fs, old_iaddr), bp); #ifdef DIAGNOSTIC if (sup->su_nbytes < sizeof(struct dinode)) - panic("lfs_vfree: negative byte count (segment %d)\n", + panic("lfs_vfree: negative byte count (segment %d)", datosn(fs, old_iaddr)); #endif sup->su_nbytes -= sizeof(struct dinode); diff --git a/sys/ufs/lfs/lfs_inode.c b/sys/ufs/lfs/lfs_inode.c index 68169a3716a6..dd729ac899e7 100644 --- a/sys/ufs/lfs/lfs_inode.c +++ b/sys/ufs/lfs/lfs_inode.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)lfs_inode.c 8.5 (Berkeley) 12/30/93 - * $Id: lfs_inode.c,v 1.5 1995/01/04 23:46:31 gibbs Exp $ + * $Id: lfs_inode.c,v 1.6 1995/01/09 16:05:21 davidg Exp $ */ #include @@ -136,7 +136,7 @@ lfs_update(ap) if (lastseg != -1) { \ LFS_SEGENTRY(sup, fs, lastseg, sup_bp); \ if ((num << fs->lfs_bshift) > sup->su_nbytes) \ - panic("lfs_truncate: negative bytes in segment %d\n", \ + panic("lfs_truncate: negative bytes in segment %d", \ lastseg); \ sup->su_nbytes -= num << fs->lfs_bshift; \ e1 = VOP_BWRITE(sup_bp); \ diff --git a/sys/ufs/lfs/lfs_segment.c b/sys/ufs/lfs/lfs_segment.c index d3937132830f..09d5a561e9c7 100644 --- a/sys/ufs/lfs/lfs_segment.c +++ b/sys/ufs/lfs/lfs_segment.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)lfs_segment.c 8.5 (Berkeley) 1/4/94 - * $Id: lfs_segment.c,v 1.6 1995/01/04 23:46:32 gibbs Exp $ + * $Id: lfs_segment.c,v 1.7 1995/01/09 16:05:22 davidg Exp $ */ #include @@ -225,7 +225,7 @@ lfs_vflush(vp) } while (lfs_writeseg(fs, sp) && ip->i_number == LFS_IFILE_INUM); if (vp->v_dirtyblkhd.lh_first != NULL) - panic("lfs_vflush: dirty bufs!!!\n"); + panic("lfs_vflush: dirty bufs!!!"); #ifdef DOSTATS ++lfs_stats.nwrites; @@ -1111,7 +1111,7 @@ lfs_callback(bp) fs = (struct lfs *)bp->b_saveaddr; #ifdef DIAGNOSTIC if (fs->lfs_iocount == 0) - panic("lfs_callback: zero iocount\n"); + panic("lfs_callback: zero iocount"); #endif if (--fs->lfs_iocount == 0) wakeup(&fs->lfs_iocount); diff --git a/sys/ufs/lfs/lfs_vfsops.c b/sys/ufs/lfs/lfs_vfsops.c index 27b46c189d38..e571dcd628af 100644 --- a/sys/ufs/lfs/lfs_vfsops.c +++ b/sys/ufs/lfs/lfs_vfsops.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)lfs_vfsops.c 8.7 (Berkeley) 4/16/94 - * $Id: lfs_vfsops.c,v 1.9 1994/11/17 01:30:53 gibbs Exp $ + * $Id: lfs_vfsops.c,v 1.10 1995/03/16 18:16:48 bde Exp $ */ #include @@ -356,7 +356,7 @@ lfs_unmount(mp, mntflags, p) if (error = VFS_SYNC(mp, 1, p->p_ucred, p)) return (error); if (fs->lfs_ivnode->v_dirtyblkhd.lh_first) - panic("lfs_unmount: still dirty blocks on ifile vnode\n"); + panic("lfs_unmount: still dirty blocks on ifile vnode"); vrele(fs->lfs_ivnode); vgone(fs->lfs_ivnode); diff --git a/sys/ufs/mfs/mfs_vnops.c b/sys/ufs/mfs/mfs_vnops.c index 2908affe1c84..85e4b60d105c 100644 --- a/sys/ufs/mfs/mfs_vnops.c +++ b/sys/ufs/mfs/mfs_vnops.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)mfs_vnops.c 8.3 (Berkeley) 9/21/93 - * $Id: mfs_vnops.c,v 1.7 1994/10/09 07:35:12 davidg Exp $ + * $Id: mfs_vnops.c,v 1.8 1995/02/03 06:46:27 davidg Exp $ */ #include @@ -340,7 +340,7 @@ int mfs_badop() { - panic("mfs_badop called\n"); + panic("mfs_badop called"); /* NOTREACHED */ } diff --git a/sys/vm/swap_pager.c b/sys/vm/swap_pager.c index c7b05e4070ae..101933a3eeba 100644 --- a/sys/vm/swap_pager.c +++ b/sys/vm/swap_pager.c @@ -39,7 +39,7 @@ * from: Utah $Hdr: swap_pager.c 1.4 91/04/30$ * * @(#)swap_pager.c 8.9 (Berkeley) 3/21/94 - * $Id: swap_pager.c,v 1.29 1995/03/01 23:29:53 davidg Exp $ + * $Id: swap_pager.c,v 1.30 1995/03/11 22:25:02 davidg Exp $ */ /* @@ -732,7 +732,7 @@ swap_pager_getmulti(pager, m, count, reqpage, sync) boolean_t sync; { if (reqpage >= count) - panic("swap_pager_getmulti: reqpage >= count\n"); + panic("swap_pager_getmulti: reqpage >= count"); return swap_pager_input((sw_pager_t) pager->pg_data, m, count, reqpage); } diff --git a/sys/vm/vm_mmap.c b/sys/vm/vm_mmap.c index b858702fbf08..4e9574e02719 100644 --- a/sys/vm/vm_mmap.c +++ b/sys/vm/vm_mmap.c @@ -38,7 +38,7 @@ * from: Utah $Hdr: vm_mmap.c 1.6 91/10/21$ * * @(#)vm_mmap.c 8.4 (Berkeley) 1/12/94 - * $Id: vm_mmap.c,v 1.13 1995/03/12 08:11:34 davidg Exp $ + * $Id: vm_mmap.c,v 1.14 1995/03/16 18:17:19 bde Exp $ */ /* @@ -750,7 +750,7 @@ vm_mmap(map, addr, size, prot, maxprot, flags, handle, foff) * never fail */ if (!vm_map_lookup_entry(map, *addr, &entry)) { - panic("vm_mmap: missing map entry!!!\n"); + panic("vm_mmap: missing map entry!!!"); } entry->copy_on_write = TRUE; diff --git a/sys/vm/vm_page.c b/sys/vm/vm_page.c index 66e7fecba1cd..ab1d17b878f5 100644 --- a/sys/vm/vm_page.c +++ b/sys/vm/vm_page.c @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * from: @(#)vm_page.c 7.4 (Berkeley) 5/7/91 - * $Id: vm_page.c,v 1.24 1995/03/16 18:17:26 bde Exp $ + * $Id: vm_page.c,v 1.25 1995/03/18 01:04:36 davidg Exp $ */ /* @@ -783,7 +783,7 @@ vm_page_free(mem) panic("vm_page_free: freeing free page"); printf("vm_page_free: offset(%d), bmapped(%d), busy(%d), PG_BUSY(%d)\n", mem->offset, mem->bmapped, mem->busy, (flags & PG_BUSY) ? 1 : 0); - panic("vm_page_free: freeing busy page\n"); + panic("vm_page_free: freeing busy page"); } if ((flags & PG_WANTED) != 0)