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

@@ -92,11 +92,7 @@ struct boRecord *pbo;
static long write_bo(pbo)
struct boRecord *pbo;
{
char message[100];
long status;
/* added for Channel Access Links */
long options;
long nrequest;
long status,options,nrequest;
/* bo.out must be a CONSTANT or a DB_LINK or a CA_LINK*/
switch (pbo->out.type) {
@@ -116,9 +112,8 @@ long nrequest;
default :
if(recGblSetSevr(pbo,SOFT_ALARM,VALID_ALARM)){
if(pbo->stat!=SOFT_ALARM) {
strcpy(message,pbo->name);
strcat(message,": devBoSoft (write_bo) Illegal OUT field");
errMessage(S_db_badField,message);
recGblRecordError(S_db_badField,pbo,
"devBoSoft (write_bo) Illegal OUT field");
}
}
}