sched/modules: Be consistent use of binary loader debug instrumentation. Was mixed system and binary loader debug. libs/libc/modlib: Switch from systemb to binary load debug to be consistent with sched/modules.

This commit is contained in:
Gregory Nutt
2018-06-01 10:10:17 -06:00
parent 12de93dd36
commit a6a88198c0
13 changed files with 68 additions and 68 deletions
+3 -3
View File
@@ -93,7 +93,7 @@ FAR const void *modsym(FAR void *handle, FAR const char *name)
ret = modlib_registry_verify(modp);
if (ret < 0)
{
serr("ERROR: Failed to verify module: %d\n", ret);
berr("ERROR: Failed to verify module: %d\n", ret);
err = -ret;
goto errout_with_lock;
}
@@ -102,7 +102,7 @@ FAR const void *modsym(FAR void *handle, FAR const char *name)
if (modp->modinfo.exports == NULL || modp->modinfo.nexports == 0)
{
serr("ERROR: Module has no symbol table\n");
berr("ERROR: Module has no symbol table\n");
err = ENOENT;
goto errout_with_lock;
}
@@ -113,7 +113,7 @@ FAR const void *modsym(FAR void *handle, FAR const char *name)
modp->modinfo.nexports);
if (symbol == NULL)
{
serr("ERROR: Failed to find symbol in symbol \"$s\" in table\n", name);
berr("ERROR: Failed to find symbol in symbol \"$s\" in table\n", name);
err = ENOENT;
goto errout_with_lock;
}