test for init in reboot hook to be safe]

This commit is contained in:
Jeff Hill
1992-07-28 15:56:35 +00:00
parent 2a1f03bed6
commit 14baac2a02
2 changed files with 8 additions and 0 deletions
+4
View File
@@ -312,6 +312,10 @@ void fp_reboot()
{
int i;
if(!fp){
return;
}
for (i = 0; i < bi_num_cards[AT8_FP10S_BI]; i++){
if(!fp[i].fptr){
+4
View File
@@ -251,6 +251,10 @@ void fpm_reboot()
{
int i;
if(!fpm){
return;
}
for (i = 0; i < bo_num_cards[AT8_FP10M_BO]; i++){
if(!fpm[i].fmptr){