diff --git a/modules/database/src/ioc/dbStatic/dbStaticLib.c b/modules/database/src/ioc/dbStatic/dbStaticLib.c index 35433d9cd..dab74c518 100644 --- a/modules/database/src/ioc/dbStatic/dbStaticLib.c +++ b/modules/database/src/ioc/dbStatic/dbStaticLib.c @@ -2274,8 +2274,8 @@ long dbParseLink(const char *str, short ftype, dbLinkInfo *pinfo) len -= (parm - pstr); } - /* generalized extraction of ID charactor and integer pairs (eg. "#C15 S14") */ - ret = sscanf(pinfo->target, "# %c%d %c%d %c%d %c%d %c%d %c", + /* generalized extraction of ID character and integer pairs (eg. "#C15 S14") */ + ret = sscanf(pinfo->target, "# %c%i %c%i %c%i %c%i %c%i %c", &pinfo->hwid[0], &pinfo->hwnums[0], &pinfo->hwid[1], &pinfo->hwnums[1], &pinfo->hwid[2], &pinfo->hwnums[2],