Made reporting of hardware more consistant

This commit is contained in:
Marty Kraimer
1992-06-03 07:58:31 +00:00
parent f7149d3a71
commit ac1454ffe4
46 changed files with 181 additions and 371 deletions

View File

@@ -95,7 +95,6 @@ struct aoRecord *pao;
static long write_ao(pao)
struct aoRecord *pao;
{
char message[100];
long status;
/* added for Channel Access Links */
long options;
@@ -120,9 +119,8 @@ long nrequest;
default :
if(recGblSetSevr(pao,SOFT_ALARM,VALID_ALARM)){
if(pao->stat!=SOFT_ALARM) {
strcpy(message,pao->name);
strcat(message,": devAoSoft (write_ao) Illegal OUT field");
errMessage(S_db_badField,message);
recGblRecordError(S_db_badField,pao,
"devAoSoft (write_ao) Illegal OUT field");
}
}
}