mirror of
https://github.com/apache/nuttx.git
synced 2026-09-21 13:25:12 +08:00
libs/libc/misc/lib_envpath.c: Fix typo error
This commit is contained in:
@@ -223,7 +223,7 @@ FAR char *envpath_next(ENVPATH_HANDLE handle, FAR const char *relpath)
|
||||
|
||||
pathlen = strlen(path) + strlen(relpath) + 2;
|
||||
fullpath = (FAR char *)lib_malloc(pathlen);
|
||||
if (fullpathi == NULL)
|
||||
if (fullpath == NULL)
|
||||
{
|
||||
/* Failed to allocate memory */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user