diff options
Diffstat (limited to 'src/usr/errl/errlentry.C')
-rw-r--r-- | src/usr/errl/errlentry.C | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/usr/errl/errlentry.C b/src/usr/errl/errlentry.C index 86d94396e..5c1c681a5 100644 --- a/src/usr/errl/errlentry.C +++ b/src/usr/errl/errlentry.C @@ -779,8 +779,8 @@ void ErrlEntry::setSubSystemIdBasedOnCallouts() // figure out the highest priority callout, just grab // the first one if there are several with the same // priority. - if( highestPriorityCallout == NULL || - ( pData->priority > highestPriorityCallout->priority) ) + if( (highestPriorityCallout == NULL) || + (pData->priority > highestPriorityCallout->priority) ) { highestPriorityCallout = pData; } @@ -789,7 +789,8 @@ void ErrlEntry::setSubSystemIdBasedOnCallouts() // if this pointer is not null it will be pointing to the // highest priority entry - if( highestPriorityCallout == NULL ) + if((highestPriorityCallout == NULL) || + (highestPriorityCallout->priority == HWAS::SRCI_PRIORITY_NONE) ) { // no callouts in log, add default callout for hb code and // add trace |