summaryrefslogtreecommitdiff
path: root/sys/dev/raidframe
diff options
context:
space:
mode:
authoroster <oster@NetBSD.org>1999-08-15 03:44:46 +0000
committeroster <oster@NetBSD.org>1999-08-15 03:44:46 +0000
commit770de7bb5ac41d16012d75056bdbda94e8de4edc (patch)
tree67d47ce7842895557e268029059c495d5ad74442 /sys/dev/raidframe
parentb2af35bc2d83d706fe5c359378cf03d4914c2611 (diff)
Print a error message instead of panicing in rf_RecoveryPQFunc().
Diffstat (limited to 'sys/dev/raidframe')
-rw-r--r--sys/dev/raidframe/rf_pq.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/raidframe/rf_pq.c b/sys/dev/raidframe/rf_pq.c
index ad87afb99ac..7deed39d581 100644
--- a/sys/dev/raidframe/rf_pq.c
+++ b/sys/dev/raidframe/rf_pq.c
@@ -1,4 +1,4 @@
-/* $NetBSD: rf_pq.c,v 1.5 1999/08/15 02:36:40 oster Exp $ */
+/* $NetBSD: rf_pq.c,v 1.6 1999/08/15 03:44:46 oster Exp $ */
/*
* Copyright (c) 1995 Carnegie-Mellon University.
* All rights reserved.
@@ -588,7 +588,8 @@ int
rf_RecoveryPQFunc(node)
RF_DagNode_t *node;
{
- RF_PANIC();
+ RF_Raid_t *raidPtr = (RF_Raid_t *) node->params[node->numParams - 1].p;
+ printf("raid%d: Recovery from PQ not implemented.\n",raidPtr->raidid);
return (1);
}
/*