diff options
30 files changed, 72 insertions, 71 deletions
diff --git a/sys/amd64/amd64/vm_machdep.c b/sys/amd64/amd64/vm_machdep.c index b4ae07c..8c3c70a 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;index<bouncepages;index++) { if( pa == bouncepa[index]) @@ -493,11 +493,11 @@ vm_bounce_init() bounceallocarray = malloc(bounceallocarraysize * sizeof(unsigned), M_TEMP, M_NOWAIT); if (!bounceallocarray) - panic("Cannot allocate bounce resource array\n"); + panic("Cannot allocate bounce resource array"); bouncepa = malloc(bouncepages * sizeof(vm_offset_t), M_TEMP, M_NOWAIT); if (!bouncepa) - panic("Cannot allocate physical memory array\n"); + panic("Cannot allocate physical memory array"); for(i=0;i<bounceallocarraysize;i++) { bounceallocarray[i] = 0xffffffff; diff --git a/sys/ddb/db_command.c b/sys/ddb/db_command.c index 4aded1d..1613ab9 100644 --- a/sys/ddb/db_command.c +++ b/sys/ddb/db_command.c @@ -23,7 +23,7 @@ * any improvements or extensions that they make and grant Carnegie the * rights to redistribute these changes. * - * $Id: db_command.c,v 1.10 1995/03/05 22:56:21 joerg Exp $ + * $Id: db_command.c,v 1.11 1995/03/16 18:10:59 bde Exp $ */ /* @@ -390,7 +390,7 @@ db_help_cmd() void db_panic() { - panic("from debugger\n"); + panic("from debugger"); } void diff --git a/sys/dev/ie/if_ie.c b/sys/dev/ie/if_ie.c index 691f0f4..7bb5a2f 100644 --- a/sys/dev/ie/if_ie.c +++ b/sys/dev/ie/if_ie.c @@ -43,7 +43,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: if_ie.c,v 1.19 1994/11/24 14:29:20 davidg Exp $ + * $Id: if_ie.c,v 1.20 1994/12/22 21:56:09 wollman Exp $ */ /* @@ -1517,7 +1517,7 @@ iereset(unit) #ifdef notdef if(!check_ie_present(unit, ie_softc[unit].iomembot, ie_softc[unit].iosize)) - panic("ie disappeared!\n"); + panic("ie disappeared!"); #endif ie_softc[unit].arpcom.ac_if.if_flags |= IFF_UP; diff --git a/sys/fs/msdosfs/msdosfs_vnops.c b/sys/fs/msdosfs/msdosfs_vnops.c index b309fcf..6f90d85 100644 --- a/sys/fs/msdosfs/msdosfs_vnops.c +++ b/sys/fs/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/fs/nullfs/null_vnops.c b/sys/fs/nullfs/null_vnops.c index 4f51452..9136baf 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 ddbe499..14d3fcc 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 8c46434..bb9f57e 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 b4ae07c..8c3c70a 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<bouncepages;index++) { if( pa == bouncepa[index]) @@ -493,11 +493,11 @@ vm_bounce_init() bounceallocarray = malloc(bounceallocarraysize * sizeof(unsigned), M_TEMP, M_NOWAIT); if (!bounceallocarray) - panic("Cannot allocate bounce resource array\n"); + panic("Cannot allocate bounce resource array"); bouncepa = malloc(bouncepages * sizeof(vm_offset_t), M_TEMP, M_NOWAIT); if (!bouncepa) - panic("Cannot allocate physical memory array\n"); + panic("Cannot allocate physical memory array"); for(i=0;i<bounceallocarraysize;i++) { bounceallocarray[i] = 0xffffffff; diff --git a/sys/i386/isa/if_ie.c b/sys/i386/isa/if_ie.c index 691f0f4..7bb5a2f 100644 --- a/sys/i386/isa/if_ie.c +++ b/sys/i386/isa/if_ie.c @@ -43,7 +43,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: if_ie.c,v 1.19 1994/11/24 14:29:20 davidg Exp $ + * $Id: if_ie.c,v 1.20 1994/12/22 21:56:09 wollman Exp $ */ /* @@ -1517,7 +1517,7 @@ iereset(unit) #ifdef notdef if(!check_ie_present(unit, ie_softc[unit].iomembot, ie_softc[unit].iosize)) - panic("ie disappeared!\n"); + panic("ie disappeared!"); #endif ie_softc[unit].arpcom.ac_if.if_flags |= IFF_UP; diff --git a/sys/i386/isa/sound/dev_table.c b/sys/i386/isa/sound/dev_table.c index 7f0f987..c79b39d 100644 --- a/sys/i386/isa/sound/dev_table.c +++ b/sys/i386/isa/sound/dev_table.c @@ -122,7 +122,7 @@ sndtable_init_card (int unit, struct address_info *hw_config) if (!unit) { if (sndtable_init (0) != 0) - panic ("snd: Invalid memory allocation\n"); + panic ("snd: Invalid memory allocation"); return TRUE; } @@ -140,7 +140,7 @@ sndtable_init_card (int unit, struct address_info *hw_config) * Mark as not detected */ else if (sound_drivers[drv].attach (0, hw_config) != 0) - panic ("snd#: Invalid memory allocation\n"); + panic ("snd#: Invalid memory allocation"); return TRUE; } diff --git a/sys/i386/isa/sound/os.h b/sys/i386/isa/sound/os.h index f3f9cdf..2e888c0 100644 --- a/sys/i386/isa/sound/os.h +++ b/sys/i386/isa/sound/os.h @@ -290,7 +290,7 @@ extern unsigned long get_time(void); */ #define PERMANENT_MALLOC(typecast, mem_ptr, size, linux_ptr) \ {(mem_ptr) = (typecast)malloc((size), M_DEVBUF, M_NOWAIT); \ - if (!(mem_ptr))panic("SOUND: Cannot allocate memory\n");} + if (!(mem_ptr))panic("SOUND: Cannot allocate memory");} /* * The macro DEFINE_TIMER defines variables for the ACTIVATE_TIMER if diff --git a/sys/kern/kern_malloc.c b/sys/kern/kern_malloc.c index 17d8194..edb358e 100644 --- a/sys/kern/kern_malloc.c +++ b/sys/kern/kern_malloc.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)kern_malloc.c 8.3 (Berkeley) 1/4/94 - * $Id: kern_malloc.c,v 1.8 1995/02/02 08:49:07 davidg Exp $ + * $Id: kern_malloc.c,v 1.9 1995/03/11 22:28:16 davidg Exp $ */ #include <sys/param.h> @@ -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 4f51452..9136baf 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 ddbe499..14d3fcc 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 b309fcf..6f90d85 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 aacba3d..64e595d 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 <sys/param.h> @@ -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 063cc0f..73b91b5 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 c10af1f..e87e165 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 @@ bad: 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 08aee83..88643b8 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 <sys/param.h> @@ -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 53dbf27..5724c72 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 <sys/types.h> @@ -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 fe07014..81d1fe4 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 <sys/param.h> @@ -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 83a9328..b9994a1 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 <sys/param.h> @@ -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 feaa8d2..3606484 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 <sys/param.h> @@ -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 68169a3..dd729ac 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 <sys/param.h> @@ -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 d393713..09d5a56 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 <sys/param.h> @@ -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 27b46c1..e571dcd 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 <sys/param.h> @@ -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 2908aff..85e4b60 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 <sys/param.h> @@ -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 c7b05e4..101933a 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 b858702..4e9574e 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 66e7fec..ab1d17b 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) |