We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24669df commit 7d7a317Copy full SHA for 7d7a317
lib/heap/heap_array.c
@@ -18,7 +18,7 @@ int sys_heap_array_save(struct sys_heap *heap)
18
if (i < CONFIG_SYS_HEAP_ARRAY_SIZE) {
19
heaps[i++] = heap;
20
} else {
21
- return -EINVAL;
+ return -ENOMEM;
22
}
23
24
return 0;
0 commit comments