Skip to content

Commit

Permalink
Merge 268eb37 into cb15717
Browse files Browse the repository at this point in the history
  • Loading branch information
dirk-zimoch committed Apr 3, 2024
2 parents cb15717 + 268eb37 commit c137987
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions modules/database/src/ioc/dbStatic/dbStaticLib.c
Expand Up @@ -2206,12 +2206,12 @@ long dbInitRecordLinks(dbRecordType *rtyp, struct dbCommon *prec)
*/

} else if(dbCanSetLink(plink, &link_info, devsup)!=0) {
errlogPrintf(ERL_ERROR ": %s.%s: can't initialize link type %d with \"%s\" (type %d)\n",
prec->name, pflddes->name, plink->type, plink->text, link_info.ltype);
errlogPrintf(ERL_ERROR ": %s.%s: can't initialize link type %s with \"%s\" (type %s)\n",
prec->name, pflddes->name, pamaplinkType[plink->type].strvalue, plink->text, pamaplinkType[link_info.ltype].strvalue);

} else if(dbSetLink(plink, &link_info, devsup)) {
errlogPrintf(ERL_ERROR ": %s.%s: failed to initialize link type %d with \"%s\" (type %d)\n",
prec->name, pflddes->name, plink->type, plink->text, link_info.ltype);
errlogPrintf(ERL_ERROR ": %s.%s: failed to initialize link type %s with \"%s\" (type %s)\n",
prec->name, pflddes->name, pamaplinkType[plink->type].strvalue, plink->text, pamaplinkType[link_info.ltype].strvalue);
}
free(plink->text);
plink->text = NULL;
Expand Down

0 comments on commit c137987

Please sign in to comment.