mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-04 12:52:15 +00:00
Removed redundant newlines that were in some panic strings.
This commit is contained in:
parent
1b2cfc2645
commit
edf8a81561
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=7170
@ -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;
|
||||
|
@ -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
|
||||
|
@ -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;
|
||||
|
@ -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);
|
||||
}
|
||||
|
@ -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
|
||||
|
||||
/*
|
||||
|
@ -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
|
||||
|
||||
/*
|
||||
|
@ -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 */
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
|
@ -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) {
|
||||
|
@ -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
|
||||
|
||||
/*
|
||||
|
@ -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
|
||||
|
||||
/*
|
||||
|
@ -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);
|
||||
}
|
||||
|
@ -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;
|
||||
|
@ -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),
|
||||
|
@ -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"};
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
|
@ -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)),
|
||||
|
@ -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.
|
||||
|
@ -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);
|
||||
|
@ -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); \
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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 */
|
||||
}
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user