Skip to content
Snippets Groups Projects
Commit db6eeed3 authored by Gregory Nutt's avatar Gregory Nutt
Browse files

procfs: Using wrong reallocator

parent 7483ed38
No related branches found
No related tags found
No related merge requests found
......@@ -1064,7 +1064,7 @@ int procfs_register(FAR const struct procfs_entry_s *entry)
newsize = newcount * sizeof(struct procfs_entry_s);
sched_lock();
newtable = (FAR struct procfs_entry_s *)realloc(g_procfs_entries, newsize);
newtable = (FAR struct procfs_entry_s *)kmm_realloc(g_procfs_entries, newsize);
if (newtable == NULL)
{
ret = -ENOMEM;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment