From bb45e4bac0d787ebbf46a227415c9b706c83bcfb Mon Sep 17 00:00:00 2001 From: "Janet B. Anderson" Date: Thu, 21 Feb 1991 16:18:31 +0000 Subject: [PATCH] jba changes through 2/21/91 --- src/dev/devAoSoft.c | 1 - src/dev/devBoSoft.c | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/dev/devAoSoft.c b/src/dev/devAoSoft.c index 12720b2c4..59a245aa1 100644 --- a/src/dev/devAoSoft.c +++ b/src/dev/devAoSoft.c @@ -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) { diff --git a/src/dev/devBoSoft.c b/src/dev/devBoSoft.c index 3cebcd77b..e8eef514e 100644 --- a/src/dev/devBoSoft.c +++ b/src/dev/devBoSoft.c @@ -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); } }