From 770de7bb5ac41d16012d75056bdbda94e8de4edc Mon Sep 17 00:00:00 2001 From: oster Date: Sun, 15 Aug 1999 03:44:46 +0000 Subject: Print a error message instead of panicing in rf_RecoveryPQFunc(). --- sys/dev/raidframe/rf_pq.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sys/dev/raidframe') 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); } /* -- cgit