Replace magic "2" with macro AAI_DEVINIT_PASS1

This commit is contained in:
Andrew Johnson
2021-02-28 15:02:27 -06:00
parent 6734918e6e
commit 6754404d0f
3 changed files with 11 additions and 10 deletions

View File

@@ -48,8 +48,8 @@ static long init_record(dbCommon *pcommon)
DBLINK *plink = &prec->inp;
/* Ask record to call us in pass 1 instead */
if (prec->pact != 2) {
return 2;
if (prec->pact != AAI_DEVINIT_PASS1) {
return AAI_DEVINIT_PASS1;
}
if (dbLinkIsConstant(plink)) {