diff --git a/src/rec/calcoutRecord.c b/src/rec/calcoutRecord.c index 15115b4a7..f4ca2227c 100644 --- a/src/rec/calcoutRecord.c +++ b/src/rec/calcoutRecord.c @@ -602,7 +602,7 @@ static void execOutput(pcalc) } /* Check to see what to do if INVALID */ - if (pcalc->sevr < INVALID_ALARM ) { + if (pcalc->nsev < INVALID_ALARM ) { /* Output the value */ status=dbPutLink(&(pcalc->out), DBR_DOUBLE,&(pcalc->oval),1); /* post event if output event != 0 */