jba changes through 2/21/91

This commit is contained in:
Janet B. Anderson
1991-02-21 16:18:31 +00:00
parent 444b9c69e3
commit bb45e4bac0
2 changed files with 2 additions and 3 deletions

View File

@@ -68,7 +68,6 @@ static long write_ao(pao)
struct aoRecord *pao;
{
char message[100];
long status;
/* ao.out must be a CONSTANT or a DB_LINK or a CA_LINK*/
switch (pao->out.type) {

View File

@@ -71,7 +71,7 @@ static long write_bo(pbo)
case (CONSTANT) :
break;
case (DB_LINK) :
(void)dbPutLink(&pbo->out.value.db_link,pbo,DBR_SHORT,&pbo->val,1L);
(void)dbPutLink(&pbo->out.value.db_link,pbo,DBR_USHORT,&pbo->val,1L);
break;
case (CA_LINK) :
break;
@@ -81,7 +81,7 @@ static long write_bo(pbo)
pbo->nsta = SOFT_ALARM;
if(pbo->stat!=SOFT_ALARM) {
strcpy(message,pbo->name);
strcat(message,": devBoSoft (write_ai) Illegal INP field");
strcat(message,": devBoSoft (write_bo) Illegal INP field");
errMessage(S_db_badField,message);
}
}