summaryrefslogtreecommitdiff
path: root/sys/dev/raidframe/rf_openbsdkintf.c
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2002-10-12 02:03:47 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2002-10-12 02:03:47 +0000
commiteea56182a4ff249c1e62430be72d19c43cfc3f0d (patch)
treef6e3c355a78ee8b0382ebaa4bf5e5839c68a4db1 /sys/dev/raidframe/rf_openbsdkintf.c
parentfd4371e84bfe456363d8522471f8e03b42c3f36e (diff)
Remove more '\n's from panic() statements. Both trailing and leading.
Last bits of diff generated by Chris Kuethe.
Diffstat (limited to 'sys/dev/raidframe/rf_openbsdkintf.c')
-rw-r--r--sys/dev/raidframe/rf_openbsdkintf.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/sys/dev/raidframe/rf_openbsdkintf.c b/sys/dev/raidframe/rf_openbsdkintf.c
index 62b966abb35..18964abf085 100644
--- a/sys/dev/raidframe/rf_openbsdkintf.c
+++ b/sys/dev/raidframe/rf_openbsdkintf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rf_openbsdkintf.c,v 1.19 2002/08/09 15:10:20 tdeval Exp $ */
+/* $OpenBSD: rf_openbsdkintf.c,v 1.20 2002/10/12 02:03:46 krw Exp $ */
/* $NetBSD: rf_netbsdkintf.c,v 1.109 2001/07/27 03:30:07 oster Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
@@ -391,7 +391,7 @@ raidattach(num)
/* Make some space for requested number of units... */
RF_Calloc(raidPtrs, num, sizeof(RF_Raid_t *), (RF_Raid_t **));
if (raidPtrs == NULL) {
- panic("raidPtrs is NULL!!\n");
+ panic("raidPtrs is NULL!!");
}
rc = rf_mutex_init(&rf_sparet_wait_mutex);
@@ -407,7 +407,7 @@ raidattach(num)
if (rc == 0)
printf("Kernelized RAIDframe activated\n");
else
- panic("Serious error booting RAID!!\n");
+ panic("Serious error booting RAID!!");
/*
* Put together some datastructures like the CCD device does..
@@ -437,7 +437,7 @@ raidattach(num)
raidrootdev = (struct device *)malloc(num * sizeof(struct device),
M_RAIDFRAME, M_NOWAIT);
if (raidrootdev == NULL) {
- panic("No memory for RAIDframe driver!!?!?!\n");
+ panic("No memory for RAIDframe driver!!?!?!");
}
for (raidID = 0; raidID < num; raidID++) {
@@ -1897,7 +1897,7 @@ rf_DispatchKernelIO(queue, req)
if (unit >= numraid) {
printf("Invalid unit number: %d %d\n", unit, numraid);
- panic("Invalid Unit number in rf_DispatchKernelIO\n");
+ panic("Invalid Unit number in rf_DispatchKernelIO");
}
rs = &raid_softc[unit];
@@ -2110,7 +2110,7 @@ rf_InitBP(bp, b_vp, rw_flag, dev, startSect, numSect, buf, cbFunc, cbArg,
bp->b_blkno = startSect;
bp->b_resid = bp->b_bcount; /* XXX is this right!??!?!! */
if (bp->b_bcount == 0) {
- panic("bp->b_bcount is zero in rf_InitBP!!\n");
+ panic("bp->b_bcount is zero in rf_InitBP!!");
}
bp->b_proc = b_proc;
bp->b_iodone = cbFunc;
@@ -3008,7 +3008,7 @@ rf_create_auto_sets(ac_list)
malloc(sizeof(RF_ConfigSet_t),
M_RAIDFRAME, M_NOWAIT);
if (config_sets == NULL) {
- panic("rf_create_auto_sets: No memory!\n");
+ panic("rf_create_auto_sets: No memory!");
}
/* this one is easy :) */
config_sets->ac = ac;
@@ -3033,7 +3033,7 @@ rf_create_auto_sets(ac_list)
malloc(sizeof(RF_ConfigSet_t),
M_RAIDFRAME, M_NOWAIT);
if (cset == NULL) {
- panic("rf_create_auto_sets: No memory!\n");
+ panic("rf_create_auto_sets: No memory!");
}
cset->ac = ac;
ac->next = NULL;