mirror of
https://github.com/apache/nuttx.git
synced 2026-05-27 19:36:35 +08:00
sched/module/mod_modhandle.c: Fix typo in debug statement.
This commit is contained in:
committed by
Gregory Nutt
parent
0923643d99
commit
f3d940aac5
@@ -85,7 +85,7 @@ FAR void *modhandle(FAR const char *name)
|
|||||||
modp = modlib_registry_find(name);
|
modp = modlib_registry_find(name);
|
||||||
if (modp == NULL)
|
if (modp == NULL)
|
||||||
{
|
{
|
||||||
serr("ERROR: Failed to find module %s: %d\n", name, ret);
|
serr("ERROR: Failed to find module %s: %d\n", name, modp);
|
||||||
set_errno(ENOENT);
|
set_errno(ENOENT);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user