Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/raidframe Remember to pass down the proc pointer whe...
details: https://anonhg.NetBSD.org/src/rev/388bfb1caa63
branches: trunk
changeset: 473666:388bfb1caa63
user: oster <oster%NetBSD.org@localhost>
date: Sun Jun 13 20:36:17 1999 +0000
description:
Remember to pass down the proc pointer when adding a hot spare.
(Thanks to Martin J. Laubach for helping track this one down.)
diffstat:
sys/dev/raidframe/rf_netbsdkintf.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r 96684291ab3f -r 388bfb1caa63 sys/dev/raidframe/rf_netbsdkintf.c
--- a/sys/dev/raidframe/rf_netbsdkintf.c Sun Jun 13 20:00:03 1999 +0000
+++ b/sys/dev/raidframe/rf_netbsdkintf.c Sun Jun 13 20:36:17 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rf_netbsdkintf.c,v 1.18 1999/04/12 19:39:59 oster Exp $ */
+/* $NetBSD: rf_netbsdkintf.c,v 1.19 1999/06/13 20:36:17 oster Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -992,6 +992,7 @@
sparePtr = (RF_SingleComponent_t *) data;
memcpy( &hot_spare, sparePtr, sizeof(RF_SingleComponent_t));
printf("Adding spare\n");
+ raidPtrs[unit]->proc = p; /* Blah... :-p GO */
retcode = rf_add_hot_spare(raidPtrs[unit], &hot_spare);
return(retcode);
Home |
Main Index |
Thread Index |
Old Index