diff options
author | dg <dg@FreeBSD.org> | 1995-03-19 14:29:26 +0000 |
---|---|---|
committer | dg <dg@FreeBSD.org> | 1995-03-19 14:29:26 +0000 |
commit | 9cd78521d8c98c1054f6865820ad07469edac8fd (patch) | |
tree | 589f9b4a28e25de36e0344457a8c795333f7c011 /sys/ufs | |
parent | f572de6775d26857d37278e33ea582d10a09d384 (diff) | |
download | FreeBSD-src-9cd78521d8c98c1054f6865820ad07469edac8fd.zip FreeBSD-src-9cd78521d8c98c1054f6865820ad07469edac8fd.tar.gz |
Removed redundant newlines that were in some panic strings.
Diffstat (limited to 'sys/ufs')
-rw-r--r-- | sys/ufs/ffs/ffs_alloc.c | 8 | ||||
-rw-r--r-- | sys/ufs/ffs/ffs_balloc.c | 4 | ||||
-rw-r--r-- | sys/ufs/lfs/lfs_alloc.c | 4 | ||||
-rw-r--r-- | sys/ufs/lfs/lfs_inode.c | 4 | ||||
-rw-r--r-- | sys/ufs/lfs/lfs_segment.c | 6 | ||||
-rw-r--r-- | sys/ufs/lfs/lfs_vfsops.c | 4 | ||||
-rw-r--r-- | sys/ufs/mfs/mfs_vnops.c | 4 |
7 files changed, 17 insertions, 17 deletions
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 */ } |